Skip to content
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

x/vgo: version subcommand doesn't work outside of module dir #25903

Closed
artyom opened this issue Jun 15, 2018 · 1 comment

Comments

@artyom
Copy link
Member

commented Jun 15, 2018

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go version go1.10.3 darwin/amd64 vgo:2018-02-20.1

vgo is at revision d948b59

What did you do?

Run vgo version in $HOME directory — outside of any module root dir.

What did you expect to see?

~ ¶ vgo version
go version go1.10.3 darwin/amd64 vgo:2018-02-20.1

What did you see instead?

~ ¶ vgo version
cannot determine module root; please create a go.mod file there
@gopherbot

This comment has been minimized.

Copy link

commented Jun 15, 2018

Change https://golang.org/cl/119275 mentions this issue: cmd/go: skip vgo.Init for the version subcommand

@golang golang locked and limited conversation to collaborators Jun 19, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants
You can’t perform that action at this time.