]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/vet: remove pkgfact analyzer, left in by mistake
authorAlan Donovan <adonovan@google.com>
Fri, 16 Nov 2018 21:51:33 +0000 (16:51 -0500)
committerAlan Donovan <adonovan@google.com>
Sat, 17 Nov 2018 13:25:36 +0000 (13:25 +0000)
Also, document process for updating vendored x/tools.

Change-Id: I826744603ae0752e508a6db7334a2bf9adaf1289
Reviewed-on: https://go-review.googlesource.com/c/149963
Run-TryBot: Alan Donovan <adonovan@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/vendor/README
src/cmd/vet/main.go

index 740905c652fdb0581a5b8619c70fc583d10608a6..7eb97a1b9b16f612a3686b31ffb7cf13c5039a98 100644 (file)
@@ -19,3 +19,7 @@ make govendor work and will create the .cache folder in
 $GOROOT as a side-effect. Please make sure to delete
 the directory and not to include the directory in the
 commit by accident.
+
+The vendored copy of golang.org/x/tools is maintained by
+running the update-xtools.sh script in this directory,
+not by govendor.
\ No newline at end of file
index 16ce61980f1231ebd4a8ca1f74945078d54358aa..3ea781a7d4932f8627d3fb3faac6ef41bb4e5091 100644 (file)
@@ -20,7 +20,6 @@ import (
        "golang.org/x/tools/go/analysis/passes/loopclosure"
        "golang.org/x/tools/go/analysis/passes/lostcancel"
        "golang.org/x/tools/go/analysis/passes/nilfunc"
-       "golang.org/x/tools/go/analysis/passes/pkgfact"
        "golang.org/x/tools/go/analysis/passes/printf"
        "golang.org/x/tools/go/analysis/passes/shift"
        "golang.org/x/tools/go/analysis/passes/stdmethods"
@@ -61,7 +60,6 @@ func main() {
                loopclosure.Analyzer,
                lostcancel.Analyzer,
                nilfunc.Analyzer,
-               pkgfact.Analyzer,
                printf.Analyzer,
                shift.Analyzer,
                stdmethods.Analyzer,