Closed andig closed 1 year ago
Thanks for the report. I suspect that this is related to #55955.
Hello! Is there any known workaround to this? I'm seeing it too: the effect is that this forces me to update the removed modules, since when they are re-added with go mod tidy
the latest version is fetched
Edit: in case it helps anyone else, I've found that I can get around this by manually editing the go.mod
file with the new dependency/version and then running go mod tidy
🙂
Confirmed, this will be fixed by https://go.dev/cl/471595.
Duplicate of #55955.
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?
Run
go get
on cleango.mod
:What did you expect to see?
No removal of unrelated modules
What did you see instead?
mbmd
module removed for unknown reason:This happens on https://github.com/evcc-io/evcc/commit/c18475b050e4b770c1fc0a26e2799109e7454309
Running
tidy
once more re-adds the removed module: