mirror of
https://github.com/github/codeql-action.git
synced 2026-01-06 22:50:17 +08:00
Merge remote-tracking branch 'upstream/main' into aeisenberg/ghes-pack-download
This commit is contained in:
@@ -781,8 +781,12 @@ async function getCodeQLForCmd(
|
||||
const extraArgs = config.languages.map(
|
||||
(language) => `--language=${language}`
|
||||
);
|
||||
const isGoExtractionReconciliationEnabled =
|
||||
await util.isGoExtractionReconciliationEnabled(featureFlags);
|
||||
if (
|
||||
config.languages.filter((l) => isTracedLanguage(l, logger)).length > 0
|
||||
config.languages.filter((l) =>
|
||||
isTracedLanguage(l, isGoExtractionReconciliationEnabled, logger)
|
||||
).length > 0
|
||||
) {
|
||||
extraArgs.push("--begin-tracing");
|
||||
extraArgs.push(...(await getTrapCachingExtractorConfigArgs(config)));
|
||||
@@ -803,7 +807,11 @@ async function getCodeQLForCmd(
|
||||
// `CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED`, so don't use Lua tracing
|
||||
// when tracing Go on Windows on these CodeQL versions.
|
||||
(!config.languages.includes(Language.go) ||
|
||||
!isTracedLanguage(Language.go, logger) ||
|
||||
!isTracedLanguage(
|
||||
Language.go,
|
||||
isGoExtractionReconciliationEnabled,
|
||||
logger
|
||||
) ||
|
||||
process.platform !== "win32" ||
|
||||
(await util.codeQlVersionAbove(
|
||||
this,
|
||||
|
||||
Reference in New Issue
Block a user