Ref. https://go-review.googlesource.com/c/go/+/442303/comment/7caca6eb_0ebe4d51/
Change-Id: Id351b9c25380f0959453bb84ed123d0e784e4866
Reviewed-on: https://go-review.googlesource.com/c/go/+/450595
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Joedian Reid <joedian@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
}
sp := strings.SplitN(line, " ", 2)
if len(sp) != 2 {
- err = fmt.Errorf("determining pkgfile map: invalid line in go list output: %q", line)
+ stdlibPkgfileErr = fmt.Errorf("determining pkgfile map: invalid line in go list output: %q", line)
return
}
importPath, export := sp[0], sp[1]