]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modget: remove duplicate exit
authorZxilly <zhouxinyu1001@gmail.com>
Tue, 19 Mar 2024 01:09:54 +0000 (01:09 +0000)
committerEmmanuel Odeke <emmanuel@orijtech.com>
Mon, 25 Mar 2024 19:51:06 +0000 (19:51 +0000)
commitb1182f22c0e557840239dfa80259d6b8c67fb559
treeb56280aca97876b60de7bc5fbd43b551627b6051
parent8ed0d35fef275ddae39285000bf0e27f5f431d81
cmd/go/internal/modget: remove duplicate exit

base.ExitIfErrors() has been deferred at the begin of the function,
no need to call it again.

Change-Id: I4fc81572cfce0f84832448da667c65bb477dea22
GitHub-Last-Rev: cc156358755d516a9c8a6989f4601345bd3b55bc
GitHub-Pull-Request: golang/go#66392
Reviewed-on: https://go-review.googlesource.com/c/go/+/572576
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/go/internal/modget/get.go