cmd/go/internal/envcmd: remove duplicate env value set

CL 586095 wasn't needed because setting the GODEBUG value was just moved
lower in CL 563137. Now we set it twice. Remove the second set so that
it's only set once.

Change-Id: I4a830977833b007e996d0ccaec705a1da4631e6c
Reviewed-on: https://go-review.googlesource.com/c/go/+/586477
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
changes/77/586477/2
Michael Matloob 2024-05-17 12:58:10 -04:00
parent 01ad44bc08
commit e95f6af008
1 changed files with 0 additions and 1 deletions

View File

@ -132,7 +132,6 @@ func MkEnv() []cfg.EnvVar {
env[i].Changed = true
}
case "GODEBUG":
env[i].Value = os.Getenv("GODEBUG")
env[i].Changed = env[i].Value != ""
}
}