From 6d2d2042ffc6535b891bb2f6558c89359784b73c Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Thu, 28 Aug 2025 17:57:17 +0100 Subject: [PATCH] Add note for `getPerQueryAlertCounts` --- src/analyze.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/analyze.ts b/src/analyze.ts index a7f224353..82f470d01 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -760,6 +760,8 @@ export async function runQueries( } if (await features.getValue(Feature.QaTelemetryEnabled)) { + // Note: QA adds the `code-quality` query suite to the `queries` input, + // so this is fine since there is no `.quality.sarif`. const perQueryAlertCounts = getPerQueryAlertCounts(sarifFile); const perQueryAlertCountEventReport: EventReport = {