-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: missing name of failed command in error #61604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
FrozenDueToAge
GoCommand
cmd/go
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Milestone
Comments
mauri870
added a commit
to mauri870/go
that referenced
this issue
Jul 27, 2023
Fixed the error reporting for an unknown command to preserve the command when displaying the error message. e.g: go asdf: unknown command instead of: go : unknown command Fixes: golang#61604
mauri870
added a commit
to mauri870/go
that referenced
this issue
Jul 27, 2023
Fixed the error reporting for an unknown command to preserve the name when displaying the error message. go : unknown command go asdf: unknown command Fixes: golang#61604
Change https://go.dev/cl/513555 mentions this issue: |
Reopening to track CL submission to release-branch.go1.21. |
Change https://go.dev/cl/515278 mentions this issue: |
gopherbot
pushed a commit
that referenced
this issue
Aug 2, 2023
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: 5d2889c GitHub-Pull-Request: #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>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
FrozenDueToAge
GoCommand
cmd/go
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Looks like I broke an error path when I refactored this code to enable toolchain updates:
Note the missing asdf in the second error message.
The text was updated successfully, but these errors were encountered: