]> Cypherpunks repositories - gostls13.git/commit
cmd/go: clean up old readEnvFile code
authorRuss Cox <rsc@golang.org>
Tue, 23 May 2023 17:42:22 +0000 (13:42 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 23 May 2023 18:36:08 +0000 (18:36 +0000)
commitdb83768f1521e944a4561327639cb212dc97321d
treea15f3581e924f6480e3a8027298707be865a1442
parentb0f15b4ac07e5d552475fefcf61bdeda90e66642
cmd/go: clean up old readEnvFile code

Now that cfg.CanGetenv does the right thing, we don't need a separate
readEnvFile in 'go env'.

Change-Id: I187c8615ad074ba132516bcf499f82877a32d5e3
Reviewed-on: https://go-review.googlesource.com/c/go/+/497457
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/go/internal/envcmd/env.go