We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 925e99c commit 251888aCopy full SHA for 251888a
go/extractor/cli/go-autobuilder/go-autobuilder.go
@@ -507,7 +507,11 @@ func extract(workspace project.GoWorkspace) bool {
507
"Unable to make module path %s relative to workspace base dir %s: %s\n",
508
filepath.Dir(module.Path), workspace.BaseDir, relErr.Error())
509
} else {
510
- extractorArgs = append(extractorArgs, relModPath)
+ if relModPath != "." {
511
+ extractorArgs = append(extractorArgs, "."+string(os.PathSeparator)+relModPath+"/...")
512
+ } else {
513
+ extractorArgs = append(extractorArgs, relModPath+"/...")
514
+ }
515
}
516
517
0 commit comments