From: guoguangwu Date: Thu, 14 Mar 2024 03:16:23 +0000 (+0000) Subject: cmd/go/internal/modcmd: fix typo in comment X-Git-Tag: go1.23rc1~895 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1e20af021ffe12efdaa3b82c7027af21d491457d;p=gostls13.git cmd/go/internal/modcmd: fix typo in comment Change-Id: I331c46083e9608227615183ba7e25f6299669341 GitHub-Last-Rev: 0cb78ae1c1e7554b0ef54c5e82fab0901a178494 GitHub-Pull-Request: golang/go#66305 Reviewed-on: https://go-review.googlesource.com/c/go/+/571536 LUCI-TryBot-Result: Go LUCI Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor Reviewed-by: Sam Thanawalla --- diff --git a/src/cmd/go/internal/modcmd/vendor.go b/src/cmd/go/internal/modcmd/vendor.go index 5b0b9bbea6..e1a9081a95 100644 --- a/src/cmd/go/internal/modcmd/vendor.go +++ b/src/cmd/go/internal/modcmd/vendor.go @@ -495,7 +495,7 @@ func copyDir(dst, src string, match func(dir string, info fs.DirEntry) bool, cop } // checkPathCollisions will fail if case-insensitive collisions are present. -// The reason why we do this check in go mod vendor is to keep consistentcy +// The reason why we do this check in go mod vendor is to keep consistency // with go build. If modifying, consider changing load() in // src/cmd/go/internal/load/pkg.go func checkPathCollisions(modpkgs map[module.Version][]string) {