chore: upgraded golangci-lint v1.52.2 and fixed all issues.
This commit is contained in:
@ -58,11 +58,7 @@ func moveFile(from, to string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := os.Rename(from, to); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return os.Rename(from, to)
|
||||
}
|
||||
|
||||
func copyDir(from, to string) error {
|
||||
|
||||
Reference in New Issue
Block a user