Skip to content

Commit

Permalink
fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
eshaan7 committed Dec 21, 2023
1 parent ebfb93f commit 03d8cef
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/formatters/sarif.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,11 @@ module.exports = function (results, data) {
if (containsSuppressedMessages) {
sarifRepresentation.suppressions = message.suppressions
? message.suppressions.map((suppression) => {
return {
kind: suppression.kind === 'directive' ? 'inSource' : 'external',
justification: suppression.justification,
}
})
return {
kind: suppression.kind === 'directive' ? 'inSource' : 'external',
justification: suppression.justification,
}
})
: []
}
} else {
Expand Down

0 comments on commit 03d8cef

Please sign in to comment.