cmd/go: confusing error on mod edit -replace=old=.. #30514
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?
Yes.
What did you do?
What did you expect to see?
Replacing a module to
..
would either succeed or give a useful error.What did you see instead?
An error saying "double dot", which makes no sense to me as a user. It was @myitcv who pointed out that adding a trailing slash would fix the problem.
From
go help go mod
:So nothing in the error nor the docs seemed to point me at the missing slash.
/cc @bcmills
The text was updated successfully, but these errors were encountered: