mirror of
https://github.com/github/codeql-action.git
synced 2025-12-30 19:20:08 +08:00
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:
@@ -124,7 +124,7 @@ export async function runInit(
|
||||
} catch (e) {
|
||||
throw processError(e);
|
||||
}
|
||||
return await getCombinedTracerConfig(config);
|
||||
return await getCombinedTracerConfig(await codeql.getVersion(), config);
|
||||
}
|
||||
|
||||
export function printPathFiltersWarning(
|
||||
|
||||
Reference in New Issue
Block a user