Skip to content

Commit b65f5c8

Browse files
committed
cmd/vet: remove pkgfact analyzer, left in by mistake
Also, document process for updating vendored x/tools. Change-Id: I826744603ae0752e508a6db7334a2bf9adaf1289 Reviewed-on: https://go-review.googlesource.com/c/149963 Run-TryBot: Alan Donovan <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 6797b32 commit b65f5c8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/cmd/vendor/README

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ make govendor work and will create the .cache folder in
1919
$GOROOT as a side-effect. Please make sure to delete
2020
the directory and not to include the directory in the
2121
commit by accident.
22+
23+
The vendored copy of golang.org/x/tools is maintained by
24+
running the update-xtools.sh script in this directory,
25+
not by govendor.

src/cmd/vet/main.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import (
2020
"golang.org/x/tools/go/analysis/passes/loopclosure"
2121
"golang.org/x/tools/go/analysis/passes/lostcancel"
2222
"golang.org/x/tools/go/analysis/passes/nilfunc"
23-
"golang.org/x/tools/go/analysis/passes/pkgfact"
2423
"golang.org/x/tools/go/analysis/passes/printf"
2524
"golang.org/x/tools/go/analysis/passes/shift"
2625
"golang.org/x/tools/go/analysis/passes/stdmethods"
@@ -61,7 +60,6 @@ func main() {
6160
loopclosure.Analyzer,
6261
lostcancel.Analyzer,
6362
nilfunc.Analyzer,
64-
pkgfact.Analyzer,
6563
printf.Analyzer,
6664
shift.Analyzer,
6765
stdmethods.Analyzer,

0 commit comments

Comments
 (0)