mirror of
https://github.com/github/codeql.git
synced 2026-01-29 14:23:03 +01:00
Add package directory as a wanted root
This commit is contained in:
@@ -122,6 +122,7 @@ func ExtractWithFlags(buildFlags []string, patterns []string) error {
|
||||
log.Fatalf("Unable to get a source directory for input package %s.", pkg.PkgPath)
|
||||
}
|
||||
wantedRoots[pkgRoots[pkg.PkgPath]] = true
|
||||
wantedRoots[pkgDirs[pkg.PkgPath]] = true
|
||||
}
|
||||
|
||||
log.Println("Done processing dependencies.")
|
||||
|
||||
Reference in New Issue
Block a user