From 1bb99cb5c7d21804d30f2689318c9c24d0abde51 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 1 Oct 2026 17:46:49 +0100 Subject: [PATCH] Explain what a reason to use the combined bundle means where it's checked Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- src/per-language-bundles.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/per-language-bundles.ts b/src/per-language-bundles.ts index 112a5ec12..d85c3f892 100644 --- a/src/per-language-bundles.ts +++ b/src/per-language-bundles.ts @@ -160,8 +160,9 @@ export async function getPerLanguageBundleLanguage( return explain("the feature is disabled"); } - // This reason applies whichever languages were requested, so check it first to avoid suggesting - // that requesting a single language would be enough. + // A defined reason means the CodeQL CLI may need packs for other languages, for example because + // of the configured queries. That applies whichever languages were requested, so check it first + // to avoid suggesting that requesting a single language would be enough. if (otherLanguagePacksReason !== undefined) { return explain(otherLanguagePacksReason); }