parent
f2e557e77f
commit
476bf863f2
4 changed files with 5 additions and 4 deletions
2
lib/upload-lib.js
generated
2
lib/upload-lib.js
generated
|
|
@ -34,7 +34,7 @@ function combineSarifFiles(sarifFiles) {
|
|||
combinedSarif.version = sarifObject.version;
|
||||
}
|
||||
else if (combinedSarif.version !== sarifObject.version) {
|
||||
throw `Different SARIF versions encountered: ${combinedSarif.version} and ${sarifObject.version}`;
|
||||
throw new Error(`Different SARIF versions encountered: ${combinedSarif.version} and ${sarifObject.version}`);
|
||||
}
|
||||
combinedSarif.runs.push(...sarifObject.runs);
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue