mirror of
https://github.com/github/codeql-action.git
synced 2026-05-11 16:20:35 +00:00
make interpret-results single-threaded
This commit is contained in:
Generated
+2
-2
@@ -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}`,
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -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}`,
|
||||
|
||||
Reference in New Issue
Block a user