Add actions extractor to search path

This commit is contained in:
Dave Bartolomeo
2024-11-07 14:49:38 -05:00
parent 8b4526fbb9
commit 1676468622
3 changed files with 13 additions and 1 deletions

View File

@@ -570,6 +570,12 @@ export async function getCodeQLForCmd(
extraArgs.push(`--trace-process-name=${processName}`);
}
if (config.languages.indexOf(Language.actions) >= 0) {
extraArgs.push("--search-path");
const extractorPath = path.resolve(__dirname, "../actions-extractor");
extraArgs.push(extractorPath);
}
const codeScanningConfigFile = await generateCodeScanningConfig(
config,
logger,