From 7a28531f2f85d3003319e30d2a5cc7a408c91ba6 Mon Sep 17 00:00:00 2001 From: Aleksandr Sergin Date: Fri, 23 Aug 2019 19:44:35 +0300 Subject: [PATCH] fix linter error --- yq.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yq.go b/yq.go index d41d311b..f75daf45 100644 --- a/yq.go +++ b/yq.go @@ -48,7 +48,7 @@ func MoveFile(sourcePath, destPath string) error { if err != nil { err = inputFile.Close() if err != nil { - return fmt.Errorf("Failed close original file: %s", err) + return fmt.Errorf("failed close original file: %s", err) } return fmt.Errorf("couldn't open dest file: %s", err) } @@ -56,7 +56,7 @@ func MoveFile(sourcePath, destPath string) error { _, err = io.Copy(outputFile, inputFile) err = inputFile.Close() if err != nil { - return fmt.Errorf("Failed close original file: %s", err) + return fmt.Errorf("failed close original file: %s", err) } if err != nil { return fmt.Errorf("writing to output file failed: %s", err)