]> Cypherpunks.ru repositories - gostls13.git/commit
[release-branch.go1.21] 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:53:43 +0000 (15:53 +0000)
commit07c72a0915093feb9837dbcbc963810a3efcb6b6
treef181715ee5d7c2b2ed71f624bd5379c4d2778a21
parent041dd5ce051caf72d64b6d5f2f975515b3676a71
[release-branch.go1.21] 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>
Reviewed-on: https://go-review.googlesource.com/c/go/+/515278
Auto-Submit: David Chase <drchase@google.com>
src/cmd/go/main.go
src/cmd/go/testdata/script/go_badcmd.txt [new file with mode: 0644]