mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 09:14:58 +00:00
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>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user