Merge pull request #15935 from github/mbg/go/speed-up-dependencies

This commit is contained in:
Michael B. Gale
2024-03-20 14:26:46 +00:00
committed by GitHub

View File

@@ -119,7 +119,7 @@ func ExtractWithFlags(buildFlags []string, patterns []string) error {
// root directories of packages that we want to extract
wantedRoots := make(map[string]bool)
if os.Getenv("CODEQL_EXTRACTOR_GO_FAST_PACKAGE_INFO") != "" {
if os.Getenv("CODEQL_EXTRACTOR_GO_FAST_PACKAGE_INFO") != "false" {
log.Printf("Running go list to resolve package and module directories.")
// get all packages information
pkgInfos, err = util.GetPkgsInfo(patterns, true, modFlags...)