Go: Make CODEQL_EXTRACTOR_GO_FAST_PACKAGE_INFO true by default

This commit is contained in:
Michael B. Gale
2024-03-19 16:39:57 +00:00
parent 8fbd743e9e
commit 06134467e9

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...)