]> Cypherpunks repositories - gostls13.git/commit
cmd/go: missing name in failed command error
authorMauri de Souza Meneguzzo <mauri870@gmail.com>
Wed, 2 Aug 2023 13:47:16 +0000 (13:47 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 2 Aug 2023 15:10:16 +0000 (15:10 +0000)
commit76b8e80fab89e11c61e86a49ec65589b3cd06c91
tree0e785c25e0c25e45eca648f70e5ebec951bfb0f4
parent2350afd2e8ab054390e284c95d5b089c142db017
cmd/go: missing name in failed command error

Fixed the error reporting for an unknown command to
preserve the name when displaying the error message.

Fixes #61604

Change-Id: I13defb84e61265ab48ab514e9d4f1626a4a3f758
GitHub-Last-Rev: 5d2889c60ceb3f43bb63b6641ecbcca08b7cd365
GitHub-Pull-Request: golang/go#61607
Reviewed-on: https://go-review.googlesource.com/c/go/+/513555
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/main.go
src/cmd/go/testdata/script/go_badcmd.txt [new file with mode: 0644]