Make golangci-lint happy
This commit is contained in:
committed by
Senan Kelly
parent
67ce861718
commit
794a2043e3
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user