From cb6e4f08c2e760c4eb90f3ed50eca3177b7ff6ff Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 9 Nov 2022 08:50:51 -0500 Subject: [PATCH] cmd/api: point to API docs in all.bash failure When people add new API and get an all.bash failure, they often don't know about the API checker at all. Point to the README in the failure message, to try to help them find what they need to know. Change-Id: I6b148ec414d212033b371357a5e8c6ab79bb50a4 Reviewed-on: https://go-review.googlesource.com/c/go/+/449015 TryBot-Result: Gopher Robot Run-TryBot: Russ Cox Reviewed-by: Ian Lance Taylor Reviewed-by: Dmitri Shuralyov --- src/cmd/api/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/api/run.go b/src/cmd/api/run.go index 1ae629a032..e17beb001f 100644 --- a/src/cmd/api/run.go +++ b/src/cmd/api/run.go @@ -63,7 +63,7 @@ func main() { ) out, err := cmd.CombinedOutput() if err != nil { - log.Fatalf("Error running API checker: %v\n%s", err, out) + log.Fatalf("Error running API checker (see $GOROOT/api/README): %v\n%s", err, out) } fmt.Print(string(out)) } -- 2.50.0