mirror of
https://github.com/golang/go
synced 2024-11-18 18:54:42 -07:00
e9a00ec821
We were using strings.Split on env vars, which did bad stuff when the var contained an =, e.g. GOFLAGS=-tags=foo. Only split on the first =. Irritatingly, this breaks only `go mod` commands, so almost nothing in gopls failed, just organize imports and the `go.mod` code lens stuff. Fixes golang/go#38669 Change-Id: I8d28c806b77a8df92100af1fa4fbcca5edf97cff Reviewed-on: https://go-review.googlesource.com/c/tools/+/230560 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
definition_test.go | ||
diagnostics_114_test.go | ||
diagnostics_test.go | ||
env_test.go | ||
env.go | ||
formatting_test.go | ||
reg_test.go | ||
serialization_test.go | ||
shared_test.go | ||
wrappers.go |