Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit 1679652

Browse files
author
Sauyon Lee
committed
Add package directory as a wanted root
1 parent 5bdff0f commit 1679652

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extractor/extractor.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ func ExtractWithFlags(buildFlags []string, patterns []string) error {
122122
log.Fatalf("Unable to get a source directory for input package %s.", pkg.PkgPath)
123123
}
124124
wantedRoots[pkgRoots[pkg.PkgPath]] = true
125+
wantedRoots[pkgDirs[pkg.PkgPath]] = true
125126
}
126127

127128
log.Println("Done processing dependencies.")

0 commit comments

Comments
 (0)