Compare commits

...

1 Commits

Author SHA1 Message Date
Esben Sparre Andreasen
800838a339 make interpret-results single-threaded 2022-02-23 09:49:42 +01:00
3 changed files with 5 additions and 5 deletions

4
lib/codeql.js generated
View File

@@ -563,11 +563,11 @@ async function getCodeQLForCmd(cmd, checkVersion) {
codeqlArgs.push(querySuitePath);
await runTool(cmd, codeqlArgs);
},
async databaseInterpretResults(databasePath, querySuitePaths, sarifFile, addSnippetsFlag, threadsFlag, automationDetailsId) {
async databaseInterpretResults(databasePath, querySuitePaths, sarifFile, addSnippetsFlag, _threadsFlag, automationDetailsId) {
const codeqlArgs = [
"database",
"interpret-results",
threadsFlag,
"--threads=1",
"--format=sarif-latest",
"-v",
`--output=${sarifFile}`,

File diff suppressed because one or more lines are too long

View File

@@ -872,13 +872,13 @@ async function getCodeQLForCmd(
querySuitePaths: string[],
sarifFile: string,
addSnippetsFlag: string,
threadsFlag: string,
_threadsFlag: string,
automationDetailsId: string | undefined
): Promise<string> {
const codeqlArgs = [
"database",
"interpret-results",
threadsFlag,
"--threads=1",
"--format=sarif-latest",
"-v",
`--output=${sarifFile}`,