Fix linter errors

This commit is contained in:
Daniel
2020-05-20 14:53:03 +02:00
parent e65ae8b55d
commit f1765a7abb
8 changed files with 24 additions and 18 deletions

View File

@@ -230,6 +230,7 @@ func upgradeFile(fileToUpgrade string, file *updater.File) error {
return nil
}
// CopyFile atomically copies a file using the update registry's tmp dir.
func CopyFile(srcPath, dstPath string) (err error) {
// check tmp dir