Add configuration option to set CodeQL DB location

This commit is contained in:
Edoardo Pirovano 2021-05-17 10:35:09 +01:00 committed by Edoardo Pirovano
parent feccdcb876
commit 79c79f1be5
38 changed files with 133 additions and 79 deletions

2
lib/tracer-config.js generated
View file

@ -19,7 +19,7 @@ const CRITICAL_TRACER_VARS = new Set([
"SEMMLE_JAVA_TOOL_OPTIONS",
]);
async function getTracerConfigForLanguage(codeql, config, language) {
const env = await codeql.getTracerEnv(util.getCodeQLDatabasePath(config.tempDir, language));
const env = await codeql.getTracerEnv(util.getCodeQLDatabasePath(config, language));
const spec = env["ODASA_TRACER_CONFIGURATION"];
const info = { spec, env: {} };
// Extract critical tracer variables from the environment