x/tools/gopls: view updates in go.mod when mod=vendor #38711
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What did you do?
I just noticed updates are shown as codelens in
go.mod
. With go 1.14 if there is a vendor folder and go.mod file have specifiedgo 1.14
then-mod=vendor
is used automatically. This behaviour makesgo list -m -u all
fails, which also prevents codelens.I think -mod=readonly can be added to here as an argument.
What did you expect to see?
Updates as codelens
What did you see instead?
Nothing
Build info
Go info
The text was updated successfully, but these errors were encountered: