From e0cdbf32e52ace709dec60ca60a1be47c965b28f 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 906ee4999..836c243b3 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -768,6 +768,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 = {