Skip to content

Commit 0613446

Browse files
committed
Go: Make CODEQL_EXTRACTOR_GO_FAST_PACKAGE_INFO true by default
1 parent 8fbd743 commit 0613446

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/extractor/extractor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func ExtractWithFlags(buildFlags []string, patterns []string) error {
119119
// root directories of packages that we want to extract
120120
wantedRoots := make(map[string]bool)
121121

122-
if os.Getenv("CODEQL_EXTRACTOR_GO_FAST_PACKAGE_INFO") != "" {
122+
if os.Getenv("CODEQL_EXTRACTOR_GO_FAST_PACKAGE_INFO") != "false" {
123123
log.Printf("Running go list to resolve package and module directories.")
124124
// get all packages information
125125
pkgInfos, err = util.GetPkgsInfo(patterns, true, modFlags...)

0 commit comments

Comments
 (0)