Make golangci-lint happy

This commit is contained in:
Serge Tkatchouk
2020-11-26 08:03:44 +08:00
committed by Senan Kelly
parent 67ce861718
commit 794a2043e3

View File

@@ -139,7 +139,7 @@ func encode(out io.Writer, trackPath, cachePath string, profile Profile) error {
} }
_ = cacheFile.Close() _ = cacheFile.Close()
// rename cache part file to mark it as valid cache file // rename cache part file to mark it as valid cache file
os.Rename(cachePartPath, cachePath) _ = os.Rename(cachePartPath, cachePath)
return nil return nil
} }