1
0
mirror of https://github.com/golang/go synced 2024-09-23 19:20:13 -06:00

cmd/vet/all: fix print statement, add platform information

Change-Id: Ibbb89c01f3e812a0602961f959672fcb6523449b
Reviewed-on: https://go-review.googlesource.com/47031
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Robert Griesemer 2017-06-28 10:50:31 -07:00
parent 7e067c4c78
commit e6d9eda2fc

View File

@ -238,9 +238,9 @@ NextLine:
default:
if !parseFailed {
parseFailed = true
fmt.Fprintln(os.Stderr, "failed to parse vet output:")
fmt.Fprintf(os.Stderr, "failed to parse %s vet output:\n", p)
}
fmt.Println(os.Stderr, line)
fmt.Fprintln(os.Stderr, line)
}
msg = strings.TrimSpace(msg)