-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: go mod edit -replace does not accept a module path without a dot #30513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
/cc @bcmills |
This is somewhat related to #28439, in that we're over-validating inputs to |
This issue and partly the related ones are caused by
Further, this check is redundant with IsDirectoryPath which draws the line between paths and module paths. |
Change https://golang.org/cl/210343 mentions this issue: |
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?
Adding a replace into go.mod, since if it is added manually there is no problem.
What did you see instead?
The text was updated successfully, but these errors were encountered: