diff --git a/src/cmd/vet/all/main.go b/src/cmd/vet/all/main.go index 71915ed9f1..2500c690bf 100644 --- a/src/cmd/vet/all/main.go +++ b/src/cmd/vet/all/main.go @@ -236,10 +236,6 @@ func (p platform) vet() { cmd.Stderr = os.Stderr cmd.Stdout = os.Stderr if err := cmd.Run(); err != nil { - if _, err := build.Default.Import("golang.org/x/tools/go/analysis/cmd/vet", "", 0); err != nil { - fmt.Printf("skipping because golang.org/x/tools is not in GOPATH") - return - } log.Fatal(err) }