mirror of https://github.com/golang/go.git
internal/lsp: fixed a bug where GOPROXY was set to GOROOT
Change-Id: I29802f65be1f048a43b0b016051d64d400040fe9 GitHub-Last-Rev: 21c19aa216696b17e03becb5591c570879ab46a8 GitHub-Pull-Request: golang/tools#152 Reviewed-on: https://go-review.googlesource.com/c/tools/+/194197 Reviewed-by: Ian Cottrell <iancottrell@google.com> Run-TryBot: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
5b82db0742
commit
81ca6dc79c
|
|
@ -207,7 +207,7 @@ func (v *view) buildProcessEnv(ctx context.Context) (*imports.ProcessEnv, error)
|
|||
case "GO111MODULE":
|
||||
env.GO111MODULE = split[1]
|
||||
case "GOPROXY":
|
||||
env.GOROOT = split[1]
|
||||
env.GOPROXY = split[1]
|
||||
case "GOFLAGS":
|
||||
env.GOFLAGS = split[1]
|
||||
case "GOSUMDB":
|
||||
|
|
|
|||
Loading…
Reference in New Issue