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/tools/golpls: go mod tidy diagnostic fails with tags in buildFlags #41804

Closed
ian-mi opened this issue Oct 5, 2020 · 1 comment
Closed

x/tools/golpls: go mod tidy diagnostic fails with tags in buildFlags #41804

ian-mi opened this issue Oct 5, 2020 · 1 comment
Labels
Milestone

Comments

@ian-mi
Copy link

@ian-mi ian-mi commented Oct 5, 2020

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

$ go version
go version go1.15 linux/amd64

Does this issue reproduce with the latest release?

Yes

What did you do?

Loaded package in gopls with "gopls.buildFlags" set to "-tags=e2e".

What did you expect to see?

No errors

What did you see instead?

2020/10/05 20:41:16 warning: diagnose go.mod: err: exit status 2: stderr: flag provided but not defined: -tags
usage: go mod tidy [-v]
Run 'go help mod tidy' for details.

@gopherbot gopherbot added the Tools label Oct 5, 2020
@gopherbot gopherbot added this to the Unreleased milestone Oct 5, 2020
@stamblerre
Copy link
Contributor

@stamblerre stamblerre commented Oct 6, 2020

Duplicate of #41803

@stamblerre stamblerre marked this as a duplicate of #41803 Oct 6, 2020
@stamblerre stamblerre closed this Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.