mirror of
https://github.com/github/codeql.git
synced 2026-01-16 16:04:45 +01:00
Merge pull request #15935 from github/mbg/go/speed-up-dependencies
This commit is contained in:
@@ -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...)
|
||||
|
||||
Reference in New Issue
Block a user