Add --ram and --threads args
This commit is contained in:
parent
09fb3ec514
commit
4c00c68d14
18 changed files with 81 additions and 65 deletions
6
lib/codeql.js
generated
6
lib/codeql.js
generated
|
|
@ -343,12 +343,12 @@ function getCodeQLForCmd(cmd) {
|
|||
}).exec();
|
||||
return JSON.parse(output);
|
||||
},
|
||||
databaseAnalyze: async function (databasePath, sarifFile, querySuite) {
|
||||
databaseAnalyze: async function (databasePath, sarifFile, querySuite, memoryFlag, threadsFlag) {
|
||||
await new toolrunnner.ToolRunner(cmd, [
|
||||
'database',
|
||||
'analyze',
|
||||
util.getMemoryFlag(),
|
||||
util.getThreadsFlag(),
|
||||
memoryFlag,
|
||||
threadsFlag,
|
||||
databasePath,
|
||||
'--format=sarif-latest',
|
||||
'--output=' + sarifFile,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue