]> Cypherpunks repositories - gostls13.git/commit
cmd/go: do not call base.fatal for an unset HOME for GOAUTH=netrc
authorSam Thanawalla <samthanawalla@google.com>
Thu, 23 Jan 2025 19:35:34 +0000 (19:35 +0000)
committerSam Thanawalla <samthanawalla@google.com>
Mon, 27 Jan 2025 18:46:57 +0000 (10:46 -0800)
commitf70aa3824b637d69aaaa944b3e4691c1fbe6c0d4
treeaf4ea9d2804cdc0aa8fd58ca5356b4a84325c2ad
parent475e08349d48b172285fc8629ef1622136ee8173
cmd/go: do not call base.fatal for an unset HOME for GOAUTH=netrc

This CL silences errors caused by GOAUTH=netrc and HOME being unset.
Instead, we log the error if the -x flag is set.

Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-windows-amd64-longtest
Change-Id: Ibd323769f3562c169ebf559e060e9afbb63047bc
Reviewed-on: https://go-review.googlesource.com/c/go/+/643917
Reviewed-by: Michael Matloob <matloob@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/go/internal/auth/auth.go
src/cmd/go/testdata/script/goauth_netrc.txt