update go 1.24.6 (#5959)

* update go 1.24.6

* fix non-constant format string error

* update golang.org/x/tools@v0.36.0 and github.com/golangci/golangci-lint@v1.64.8 to pass execute golangci-lint

* add a verpose diff output to prow test

* remove pluginator binary version from generated files
This commit is contained in:
yugo kobayashi
2025-08-18 05:05:12 +09:00
committed by GitHub
parent b581903858
commit 87d0629bd1
157 changed files with 1182 additions and 1370 deletions

View File

@@ -78,8 +78,7 @@ func ConfirmDir(fSys FileSystem, path string) (ConfirmedDir, error) {
return "", errors.WrapPrefixf(err, "not a valid directory")
}
if f != "" {
//nolint:govet
return "", errors.WrapPrefixf(errors.Errorf("file is not directory"), fmt.Sprintf("'%s'", path))
return "", errors.WrapPrefixf(errors.Errorf("file is not directory"), "%s", fmt.Sprintf("'%s'", path))
}
return d, nil
}