From 7c154d973b0c3b52991532d7401ddc91360abb79 Mon Sep 17 00:00:00 2001 From: David Glasser Date: Wed, 19 Aug 2015 10:38:54 -0700 Subject: [PATCH] cmd/go: fix vendoredImportPath comment Change-Id: I1650124dd459dc401ccd73943ff7287b1b8c57e4 Reviewed-on: https://go-review.googlesource.com/13689 Reviewed-by: Andrew Gerrand --- src/cmd/go/pkg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/go/pkg.go b/src/cmd/go/pkg.go index 61e3d8dc70..1171d207b9 100644 --- a/src/cmd/go/pkg.go +++ b/src/cmd/go/pkg.go @@ -406,7 +406,7 @@ func isDir(path string) bool { // vendoredImportPath returns the expansion of path when it appears in parent. // If parent is x/y/z, then path might expand to x/y/z/vendor/path, x/y/vendor/path, -// x/vendor/path, vendor/path, or else stay x/y/z if none of those exist. +// x/vendor/path, vendor/path, or else stay path if none of those exist. // vendoredImportPath returns the expanded path or, if no expansion is found, the original. // If no expansion is found, vendoredImportPath also returns a list of vendor directories // it searched along the way, to help prepare a useful error message should path turn -- 2.48.1