diff options
| author | jjpinto <jorgpinto@gmail.com> | 2026-01-05 22:59:29 +0000 |
|---|---|---|
| committer | Cherry Mui <cherryyz@google.com> | 2026-01-09 12:40:04 -0800 |
| commit | fed3b0a298464457c58d1150bdb3942f22bd6220 (patch) | |
| tree | a4ffad2eecf1a58da8c112eb79c20dcda3ba2aec | |
| parent | 55ab5bba17a5221a51df244c8a3aeb1898cbdf1a (diff) | |
| download | go-fed3b0a298464457c58d1150bdb3942f22bd6220.tar.xz | |
cmd/dist: fix goroot typo in panic message
Change-Id: I636a029eedaab0967b774648670710d1303a1f7c
GitHub-Last-Rev: 519faedc5b8327696efeeb431ef66e9fd29f0db7
GitHub-Pull-Request: golang/go#77081
Reviewed-on: https://go-review.googlesource.com/c/go/+/734080
Reviewed-by: Ian Lance Taylor <iant@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
| -rw-r--r-- | src/cmd/dist/imports.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/dist/imports.go b/src/cmd/dist/imports.go index 0ec2b06c4f..c00369a6ba 100644 --- a/src/cmd/dist/imports.go +++ b/src/cmd/dist/imports.go @@ -259,6 +259,6 @@ func resolveVendor(imp, srcDir string) string { } else if strings.HasPrefix(srcDir, filepath.Join(goroot, "src")) { return path.Join("vendor", imp) } else { - panic(fmt.Sprintf("srcDir %q not in GOOROT/src", srcDir)) + panic(fmt.Sprintf("srcDir %q not in GOROOT/src", srcDir)) } } |
