cmd/go: improve error message from empty "mod tidy" #51551
Labels
GoCommand
cmd/go
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
At least on tip.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
An error message that doesn't mention
all
, since I didn't specifyall
anywhere. I understand why I do get this error message but it might be confusing in other cases.I stumbled upon this when I accidentally ran
go mod init
twice where the second run explicitly asks me to:What did you see instead?
The text was updated successfully, but these errors were encountered: