Use options object instead of boolean for mergeResults
This commit is contained in:
parent
e20c273295
commit
6ac57535de
6 changed files with 13 additions and 7 deletions
|
|
@ -201,7 +201,7 @@ export interface CodeQL {
|
|||
mergeResults(
|
||||
sarifFiles: string[],
|
||||
outputFile: string,
|
||||
mergeRunsFromEqualCategory?: boolean,
|
||||
options: { mergeRunsFromEqualCategory?: boolean },
|
||||
): Promise<void>;
|
||||
}
|
||||
|
||||
|
|
@ -1093,7 +1093,9 @@ export async function getCodeQLForCmd(
|
|||
async mergeResults(
|
||||
sarifFiles: string[],
|
||||
outputFile: string,
|
||||
mergeRunsFromEqualCategory = false,
|
||||
{
|
||||
mergeRunsFromEqualCategory = false,
|
||||
}: { mergeRunsFromEqualCategory?: boolean },
|
||||
): Promise<void> {
|
||||
const args = [
|
||||
"github",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue