Commit 9a9e541c authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

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
parent 83788046
...@@ -57,6 +57,7 @@ func main() { ...@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment