mirror of
https://github.com/golang/go
synced 2024-11-26 03:47:57 -07:00
cmd/api: show output of api tool even if exit status is 0
We weren't seeing additions. (stuff to put in next.txt) R=golang-dev, rsc CC=golang-dev https://golang.org/cl/12678043
This commit is contained in:
parent
8378804640
commit
9a9e541c4d
@ -57,6 +57,7 @@ func main() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("Error running API checker: %v\n%s", err, out)
|
log.Fatalf("Error running API checker: %v\n%s", err, out)
|
||||||
}
|
}
|
||||||
|
fmt.Print(string(out))
|
||||||
}
|
}
|
||||||
|
|
||||||
// file expands s to $GOROOT/api/s.txt.
|
// file expands s to $GOROOT/api/s.txt.
|
||||||
|
Loading…
Reference in New Issue
Block a user