Use runTool for mergeResults

This commit is contained in:
Koen Vlaswinkel 2024-03-25 10:03:31 +01:00
parent 6ac57535de
commit 70aa50b057
3 changed files with 3 additions and 3 deletions

2
lib/codeql.js generated
View file

@ -679,7 +679,7 @@ async function getCodeQLForCmd(cmd, checkVersion) {
if (mergeRunsFromEqualCategory) {
args.push("--sarif-merge-runs-from-equal-category");
}
await new toolrunner.ToolRunner(cmd, args).exec();
await runTool(cmd, args);
},
};
// To ensure that status reports include the CodeQL CLI version wherever