Add --ram and --threads args

This commit is contained in:
Robert Brignull committed 2020-09-01 14:27:56 +01:00
1 parent 09fb3ec514
commit 4c00c68d14
18 files changed
+81 -65

No files matched your search

Generated
+3 -3
View File
@@ -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,