1
0
mirror of https://github.com/golang/go synced 2024-11-26 03:37: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:
Brad Fitzpatrick 2013-08-08 13:36:22 -07:00
parent 8378804640
commit 9a9e541c4d

View File

@ -57,6 +57,7 @@ func main() {
if err != nil {
log.Fatalf("Error running API checker: %v\n%s", err, out)
}
fmt.Print(string(out))
}
// file expands s to $GOROOT/api/s.txt.