]> Cypherpunks repositories - gostls13.git/commit
cmd: upgrade golang.org/x/mod to fix go.mod parser
authorJay Conrod <jayconrod@google.com>
Wed, 24 Feb 2021 23:24:45 +0000 (18:24 -0500)
committerJay Conrod <jayconrod@google.com>
Thu, 25 Feb 2021 17:50:59 +0000 (17:50 +0000)
commitbcac57f89c0ec609e6fbebcbcd42bb73fdaef2f0
tree03c5d0f4c81bef490e5b7d056dca0bc51645de46
parent3137da82fd74d534fff59092329c0ca820ff6589
cmd: upgrade golang.org/x/mod to fix go.mod parser

modfile.Parse passed an empty string to the VersionFixer for the
module path. This caused errors for v2+ versions.

Fixes #44494

Change-Id: I13b86b6ecf6815c4bc9a96ec0668284c9228c205
Reviewed-on: https://go-review.googlesource.com/c/go/+/296131
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go.mod
src/cmd/go.sum
src/cmd/go/testdata/script/mod_retract_fix_version.txt [new file with mode: 0644]
src/cmd/vendor/golang.org/x/mod/modfile/rule.go
src/cmd/vendor/modules.txt