]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/go: write changes to go.mod and go.sum after loading the command-line-arguments...
authorBryan C. Mills <bcmills@google.com>
Thu, 21 Apr 2022 17:09:17 +0000 (13:09 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 4 May 2022 16:42:28 +0000 (16:42 +0000)
commitcf697253abb781e8a3e8825b7a4b5b96a534b907
treebbc50dea8703c4902aee84516e1fd2aa9b8a4f77
parent265b5fd2f1c6d3379893b58940dde48e156ce531
cmd/go: write changes to go.mod and go.sum after loading the command-line-arguments package

This entrypoint was missed in CL 349600, and the behavior happened not
to be covered by existing tests.

Fixes #52331.

Change-Id: Iccf12e8e633215abe4bfa1c3ca2fe3a8391b5ba5
Reviewed-on: https://go-review.googlesource.com/c/go/+/401536
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/cmd/go/internal/modload/load.go
src/cmd/go/testdata/script/mod_run_issue52331.txt [new file with mode: 0644]