Add the --threads config option to finalize db (#281)
This flag is already being used for `runQueries`, so let's use it for finalize as well.
This commit is contained in:
parent
a6c99e6b5b
commit
bc1ee1620f
6 changed files with 14 additions and 10 deletions
3
lib/codeql.js
generated
3
lib/codeql.js
generated
|
|
@ -363,10 +363,11 @@ function getCodeQLForCmd(cmd) {
|
|||
traceCommand,
|
||||
], error_matcher_1.errorMatchers);
|
||||
},
|
||||
async finalizeDatabase(databasePath) {
|
||||
async finalizeDatabase(databasePath, threadsFlag) {
|
||||
await toolrunner_error_catcher_1.toolrunnerErrorCatcher(cmd, [
|
||||
"database",
|
||||
"finalize",
|
||||
threadsFlag,
|
||||
...getExtraOptionsFromEnv(["database", "finalize"]),
|
||||
databasePath,
|
||||
], error_matcher_1.errorMatchers);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue