chore: bump go + golangci-lint

This commit is contained in:
Alec Thomas
2024-08-20 08:16:24 +10:00
parent 6292953645
commit 2ad9498bdf
11 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -1015,7 +1015,7 @@ func checkXorDuplicatedAndAndMissing(paths []*Path) error {
errs = append(errs, err.Error())
}
if len(errs) > 0 {
return fmt.Errorf(strings.Join(errs, ", "))
return errors.New(strings.Join(errs, ", "))
}
return nil
}