mirror of
https://github.com/golang/go
synced 2024-11-11 20:50:23 -07: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:
parent
7e067c4c78
commit
e6d9eda2fc
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user