Updated and re-enabled statickcheck
This commit is contained in:
2
vendor/golang.org/x/tools/go/packages/visit.go
generated
vendored
2
vendor/golang.org/x/tools/go/packages/visit.go
generated
vendored
@ -24,7 +24,7 @@ func Visit(pkgs []*Package, pre func(*Package) bool, post func(*Package)) {
|
||||
for path := range pkg.Imports {
|
||||
paths = append(paths, path)
|
||||
}
|
||||
sort.Strings(paths) // for determinism
|
||||
sort.Strings(paths) // Imports is a map, this makes visit stable
|
||||
for _, path := range paths {
|
||||
visit(pkg.Imports[path])
|
||||
}
|
||||
|
Reference in New Issue
Block a user