Do not add actions extractor to search path for resolve languages
This could cause an error with older CLI versions because the extractor uses a new property in its `codeql-extractor.yml`.
This commit is contained in:
parent
4b58c1e3ee
commit
0f71e87464
3 changed files with 1 additions and 5 deletions
2
lib/codeql.js
generated
2
lib/codeql.js
generated
|
|
@ -400,8 +400,6 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
|||
"--format=betterjson",
|
||||
"--extractor-options-verbosity=4",
|
||||
"--extractor-include-aliases",
|
||||
"--search-path",
|
||||
path.resolve(__dirname, "../actions-extractor"),
|
||||
...getExtraOptionsFromEnv(["resolve", "languages"]),
|
||||
];
|
||||
const output = await runCli(cmd, codeqlArgs);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -748,8 +748,6 @@ export async function getCodeQLForCmd(
|
|||
"--format=betterjson",
|
||||
"--extractor-options-verbosity=4",
|
||||
"--extractor-include-aliases",
|
||||
"--search-path",
|
||||
path.resolve(__dirname, "../actions-extractor"),
|
||||
...getExtraOptionsFromEnv(["resolve", "languages"]),
|
||||
];
|
||||
const output = await runCli(cmd, codeqlArgs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue