aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorMichael Matloob <matloob@golang.org>2024-05-23 15:00:49 -0400
committerMichael Matloob <matloob@golang.org>2024-05-24 15:54:40 +0000
commit378c48df3b485da1ed287f59e5d1f59ad232e554 (patch)
treeb404a8e210643f659cb2b29f867f8fbf2626b78b /src/runtime
parent2785f4fad60a3cdee2edc1efbe860b8ccba519cc (diff)
downloadgo-378c48df3b485da1ed287f59e5d1f59ad232e554.tar.xz
cmd/go/internal/modload: fix bug in error message
CL 513756 moved the usage of modGo after it was set to its proper value, so the error message text always listed the version of go as "unspecified". Fix the error message in the case where the version was set in the go.mod, and provide an error message where it wasn't. Fixes #67587 Change-Id: I763f6be7ee811da32fcb7e785682fd6f48145981 Reviewed-on: https://go-review.googlesource.com/c/go/+/588075 Reviewed-by: Sam Thanawalla <samthanawalla@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions