Remove makeOverlayMatchFeatures indirection

This commit is contained in:
Henry Mercer
2026-05-08 17:59:21 +01:00
parent 9a85234875
commit 540699dcca
2 changed files with 14 additions and 39 deletions

View File

@@ -89533,12 +89533,7 @@ async function run(startedAt) {
gitHubVersion.type,
codeQLDefaultVersionInfo,
rawLanguages,
// Only consider the languages for overlay-aware version selection if the
// user has told us what they intend to analyze and Code Scanning is among
// the configured analysis kinds. Without `languages`, the subsequent
// `init` invocation may analyze a different set; without Code Scanning,
// overlay analysis is not in use anyway.
rawLanguages.length > 0 && analysisKinds.includes("code-scanning" /* CodeScanning */),
analysisKinds.includes("code-scanning" /* CodeScanning */),
features,
logger
);