Break out tracer-config.ts
This commit is contained in:
parent
bd54c20d3e
commit
407ef0ac11
26 changed files with 953 additions and 489 deletions
4
lib/codeql.js
generated
4
lib/codeql.js
generated
|
|
@ -231,14 +231,12 @@ function getCodeQLForCmd(cmd) {
|
|||
'--format=json'
|
||||
]);
|
||||
},
|
||||
getTracerEnv: async function (databasePath, compilerSpec) {
|
||||
getTracerEnv: async function (databasePath) {
|
||||
let envFile = path.resolve(databasePath, 'working', 'env.tmp');
|
||||
const compilerSpecArg = compilerSpec ? ["--compiler-spec=" + compilerSpec] : [];
|
||||
await exec.exec(cmd, [
|
||||
'database',
|
||||
'trace-command',
|
||||
databasePath,
|
||||
...compilerSpecArg,
|
||||
...getExtraOptionsFromEnv(['database', 'trace-command']),
|
||||
process.execPath,
|
||||
path.resolve(__dirname, 'tracer-env.js'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue