cmd/go: go clean fails in case of no Go source and enabling Go Modules #31002
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?
If
GO111MODULE=on
and there is no Go source file in current directory,go clean
fails.What did you expect to see?
I want that
go clean
is success.What did you see instead?
I have seen an error message above.
The text was updated successfully, but these errors were encountered: