]> Cypherpunks repositories - gostls13.git/commit
cmd/go: go env GOMOD should not download newer toolchain
authorSam Thanawalla <samthanawalla@google.com>
Tue, 23 Apr 2024 17:52:55 +0000 (17:52 +0000)
committerSam Thanawalla <samthanawalla@google.com>
Thu, 25 Apr 2024 16:05:39 +0000 (16:05 +0000)
commit8c0da423f77fff5e206ad777cfc496e935cb3af6
tree57b59802936dac4e974163d8949b75e3087b1894
parent8960925ad8dd1ef234731d94ebbea263e35a3e42
cmd/go: go env GOMOD should not download newer toolchain

It is not neccessary to download a newer toolchain to display the path
to GOMOD or GOWORK.

Fixes: #61455
Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-windows-amd64-longtest
Change-Id: I0b031651ad9bfeb5565361ecaff6908640ccf9c8
Reviewed-on: https://go-review.googlesource.com/c/go/+/581275
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/cmd/go/internal/toolchain/select.go
src/cmd/go/testdata/script/env_gomod_issue61455.txt [new file with mode: 0644]