cmd/go: go list -m reports command-line-arguments when called outside a module #36793
Labels
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?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
In a directory with no reachable
go.mod
:What did you expect to see?
go list
should report an error, since there is no module.What did you see instead?
This really feels wrong for me.
The text was updated successfully, but these errors were encountered: