-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/lsp: modify how we check for go 1.14 for modfiles
When the tempModfile flag was enabled, there would be some go commands that would run without the -modfile flag. This change adds the config's buildFlags to the invokeGo command in go/packages and updates how we are checking if the go version is 1.14 within the modfileFlagExists function. Fixes golang/go#36247 Change-Id: I436666c3fcad33e85ba00aec5f227fe4a0e638b8 Reviewed-on: https://go-review.googlesource.com/c/tools/+/212477 Run-TryBot: Rohan Challa <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Rebecca Stambler <[email protected]>
- Loading branch information
1 parent
11e9d9c
commit acbc0e3
Showing
2 changed files
with
32 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters