Stop setting CODEQL_RUNNER environment variable if CLI already sets it (#2081)
* Check `setsCodeqlRunnerEnvVar` is set in the CLI with `ToolsFeatures` * Stop setting `CODEQL_RUNNER` env var when CLI does * Add optional `features` parameter in test utils * Test that `CODEQL_RUNNER` is not set if CLI sets it
This commit is contained in:
parent
eb14aeb61d
commit
96531062ba
18 changed files with 152 additions and 37 deletions
2
lib/init.js
generated
2
lib/init.js
generated
|
|
@ -63,7 +63,7 @@ async function runInit(codeql, config, sourceRoot, processName, registriesInput,
|
|||
catch (e) {
|
||||
throw processError(e);
|
||||
}
|
||||
return await (0, tracer_config_1.getCombinedTracerConfig)(config);
|
||||
return await (0, tracer_config_1.getCombinedTracerConfig)(await codeql.getVersion(), config);
|
||||
}
|
||||
exports.runInit = runInit;
|
||||
function printPathFiltersWarning(config, logger) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue