From 99d451f21fde6f3a32ea210cacf32eb4d952f44e Mon Sep 17 00:00:00 2001 From: Jamy Timmermans Date: Fri, 21 Oct 2022 14:35:09 -0700 Subject: [PATCH] Update go/tools/gopackagesdriver/main.go Co-authored-by: Zhongpeng Lin --- go/tools/gopackagesdriver/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/tools/gopackagesdriver/main.go b/go/tools/gopackagesdriver/main.go index ace8bc947e..ae998cdb04 100644 --- a/go/tools/gopackagesdriver/main.go +++ b/go/tools/gopackagesdriver/main.go @@ -52,7 +52,7 @@ var ( // It seems https://github.com/bazelbuild/bazel/issues/3115 isn't fixed when specifying // the aspect from the command line. Use this trick in the mean time. rulesGoRepositoryName = getenvDefault("GOPACKAGESDRIVER_RULES_GO_REPOSITORY_NAME", "@io_bazel_rules_go") - rulesGoAspect = rulesGoRepositoryName + "//go/tools/gopackagesdriver:aspect.bzl%go_pkg_info_aspect" + goDefaultAspect = rulesGoRepositoryName + "//go/tools/gopackagesdriver:aspect.bzl%go_pkg_info_aspect" bazelBin = getenvDefault("GOPACKAGESDRIVER_BAZEL", "bazel") bazelFlags = strings.Fields(os.Getenv("GOPACKAGESDRIVER_BAZEL_FLAGS")) bazelQueryFlags = strings.Fields(os.Getenv("GOPACKAGESDRIVER_BAZEL_QUERY_FLAGS"))