Skip the SARIF notification object workaround for fixed CLIs
This commit is contained in:
parent
ae0109a777
commit
3bba073180
11 changed files with 73 additions and 26 deletions
3
lib/util.js
generated
3
lib/util.js
generated
|
|
@ -719,6 +719,9 @@ function fixInvalidNotifications(sarif, logger) {
|
|||
logger.info(`Removed ${numDuplicateLocationsRemoved} duplicate locations from SARIF notification ` +
|
||||
"objects.");
|
||||
}
|
||||
else {
|
||||
logger.debug("No duplicate locations found in SARIF notification objects.");
|
||||
}
|
||||
return newSarif;
|
||||
}
|
||||
exports.fixInvalidNotifications = fixInvalidNotifications;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue