Skip to content

Commit 6d2d204

Browse files
committed
Add note for getPerQueryAlertCounts
1 parent ff57bbf commit 6d2d204

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/analyze.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,8 @@ export async function runQueries(
760760
}
761761

762762
if (await features.getValue(Feature.QaTelemetryEnabled)) {
763+
// Note: QA adds the `code-quality` query suite to the `queries` input,
764+
// so this is fine since there is no `.quality.sarif`.
763765
const perQueryAlertCounts = getPerQueryAlertCounts(sarifFile);
764766

765767
const perQueryAlertCountEventReport: EventReport = {

0 commit comments

Comments
 (0)