]> Cypherpunks repositories - gostls13.git/commit
cmd/go: properly call PackageModuleRoot to get modroot for index
authorMichael Matloob <matloob@golang.org>
Tue, 7 Jun 2022 17:54:53 +0000 (13:54 -0400)
committerMichael Matloob <matloob@golang.org>
Wed, 8 Jun 2022 16:27:53 +0000 (16:27 +0000)
commitf862280e30300017292b24a0fca088628d7b8065
tree65294d0bfdc7a5a808ce3ba322ff380545cbf0d4
parentd65166024f3969289be5c74fd8be7d06a93264f1
cmd/go: properly call PackageModuleRoot to get modroot for index

PackageModuleRoot needs to be called with the package's path, not
its directory on disk.

Change-Id: I080fe8ce2aeb72e1466624db81595a00915606bb
Reviewed-on: https://go-review.googlesource.com/c/go/+/410820
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
src/cmd/go/internal/load/pkg.go