-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
cmd/cover: accept -mod=vendor as an explicit flag #31018
Comments
What was the exact command you ran? (Your |
Fwiw we had the same issue, and really we just weren't aware that the |
Because |
See also #27841 (comment). |
Change https://golang.org/cl/170863 mentions this issue: |
Picking up the vendor folder by default could also remove the need to pass the flag through. See #27227 |
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?
I am using modules with a vendor folder, when i try to run
go tool cover
it attempts to connect to the internet to download the dependencies.What did you expect to see?
Cover to succeed without an internet connection
What did you see instead?
The text was updated successfully, but these errors were encountered: