mirror of
https://github.com/github/codeql-action
synced 2026-12-04 13:59:31 +08:00
Add --ram and --threads args
This commit is contained in:
1 parent
09fb3ec514
commit
4c00c68d14
18 files changed
+81
-65
No files matched your search
Generated
+3
-3
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user