cmd/go: get -d $mod@$version fails if there is no package/source files #44106
Labels
FrozenDueToAge
GoCommand
cmd/go
NeedsFix
The path to resolution is known, but the work has not been done.
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?
What did you expect to see?
No error, per Go 1.15.7
What did you see instead?
I guess the challenge here is that it doesn't make sense for:
to not return an error.
But I think a special case for
go get -d $mod[@$version]
is fine.cc @bcmills @jayconrod
The text was updated successfully, but these errors were encountered: