Skip to content

Commit

Permalink
Remove unnecessary semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjurkiewicz committed Sep 24, 2021
1 parent 9f42d9c commit 9b0eed0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,15 +228,15 @@ const main = async () => {
core.setOutput('undefined', indeterminate.toString())
core.setOutput('ignored', ignored.toString())
core.setOutput('total', total.toString())
core.startGroup('Findings');
core.startGroup('Findings')
findings_details.forEach(function(finding_detail,index) {
let finding_attributes = [];
let finding_attributes = []
finding_detail.attributes.forEach(function(attribute) {
finding_attributes.push(`${attribute.key}=${attribute.value}`);
});
console.log(`${index + 1}. ${finding_detail.name} (${finding_detail.severity}) ${finding_attributes.join(" ")}`);
});
core.endGroup();
finding_attributes.push(`${attribute.key}=${attribute.value}`)
})
console.log(`${index + 1}. ${finding_detail.name} (${finding_detail.severity}) ${finding_attributes.join(" ")}`)
})
core.endGroup()
console.log('Vulnerabilities found:')
console.log(`${critical.toString().padStart(3, ' ')} Critical ${getCount('critical', ignoredCounts)}`)
console.log(`${high.toString().padStart(3, ' ')} High ${getCount('high', ignoredCounts)}`)
Expand Down

0 comments on commit 9b0eed0

Please sign in to comment.