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 7c9e28d commit 964ca33Copy full SHA for 964ca33
go/extractor/cli/go-autobuilder/go-autobuilder.go
@@ -285,7 +285,7 @@ func findGoModFiles(emitDiagnostics bool) (baseDir string, goModFound bool) {
285
diagnostics.EmitGoFilesOutsideGoModules(goModPaths)
286
}
287
baseDir = "."
288
- goModFound = true
+ goModFound = false
289
return
290
291
if len(goModPaths) > 1 {
@@ -298,7 +298,7 @@ func findGoModFiles(emitDiagnostics bool) (baseDir string, goModFound bool) {
298
299
300
301
302
303
304
if emitDiagnostics {
0 commit comments