1
0
mirror of https://github.com/golang/go synced 2024-11-18 12:34:42 -07:00

Revert "cmd/vet/all: remove pprof from the whitelist"

This reverts commit 12b6c18139.

Reason for revert: Broke vet builder. #19322 was not fully fixed.

Change-Id: Id85131d4d0b8915480d65e3532da62b769463d70
Reviewed-on: https://go-review.googlesource.com/37625
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
This commit is contained in:
Josh Bleecher Snyder 2017-03-01 13:29:17 +00:00
parent 5e90bbcc6d
commit 9bd1cc3fa1

View File

@ -191,6 +191,9 @@ var ignorePathPrefixes = [...]string{
// TODO: If vet ever uses go/loader and starts working off source,
// this problem will likely go away.
"fmt/fmt_test.go",
// Ignore pprof for the moment to get the builders happy.
// TODO: Fix all the issues and reinstate.
"cmd/vendor/github.com/google/pprof",
}
func vetPlatforms(pp []platform) {