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
FrozenDueToAge Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@ian-mi
Copy link

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 This label describes issues relating to any tools in the x/tools repository. label Oct 5, 2020
@gopherbot gopherbot added this to the Unreleased milestone Oct 5, 2020
@stamblerre
Copy link
Contributor

Duplicate of #41803

@stamblerre stamblerre marked this as a duplicate of #41803 Oct 6, 2020
@golang golang locked and limited conversation to collaborators Oct 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge Tools This label describes issues relating to any tools in the x/tools repository.
Projects
None yet
Development

No branches or pull requests

3 participants