Fix diagnostic-limit-reached visibility and location

This commit is contained in:
Owen Mansel-Chan
2023-03-08 15:57:03 +00:00
parent 0d6f17ec90
commit 63d3b3ff2a

View File

@@ -85,8 +85,8 @@ func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagn
sourceStruct{"go/autobuilder/diagnostic-limit-reached", "Diagnostics limit exceeded", "go"},
fmt.Sprintf("CodeQL has produced more than the maximum number of diagnostics. Only the first %d have been reported.", diagnosticsLimit),
string(severityWarning),
visibility,
location,
fullVisibility,
noLocation,
}
}