Use options object instead of boolean for mergeResults

This commit is contained in:
Koen Vlaswinkel 2024-03-25 10:01:54 +01:00
parent e20c273295
commit 6ac57535de
6 changed files with 13 additions and 7 deletions

2
lib/codeql.js generated
View file

@ -665,7 +665,7 @@ async function getCodeQLForCmd(cmd, checkVersion) {
}).exec();
return JSON.parse(extractorPath);
},
async mergeResults(sarifFiles, outputFile, mergeRunsFromEqualCategory = false) {
async mergeResults(sarifFiles, outputFile, { mergeRunsFromEqualCategory = false, }) {
const args = [
"github",
"merge-results",