Skip to content

Commit 63d3b3f

Browse files
committed
Fix diagnostic-limit-reached visibility and location
1 parent 0d6f17e commit 63d3b3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/extractor/diagnostics/diagnostics.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagn
8585
sourceStruct{"go/autobuilder/diagnostic-limit-reached", "Diagnostics limit exceeded", "go"},
8686
fmt.Sprintf("CodeQL has produced more than the maximum number of diagnostics. Only the first %d have been reported.", diagnosticsLimit),
8787
string(severityWarning),
88-
visibility,
89-
location,
88+
fullVisibility,
89+
noLocation,
9090
}
9191
}
9292

0 commit comments

Comments
 (0)