We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 927af1e commit 284f98fCopy full SHA for 284f98f
1 file changed
lib/report/html-template.js
@@ -31,8 +31,8 @@ function renderHTML (title, summary, report, whitelist) {
31
: `<div style="color:${['#89a19d', '#ffb726', '#ff8b40', '#ff6040'][i]}">${v} ${['Low', 'Medium', 'High', 'Critical'][i]}</div>`)
32
const pkgLicense = license && license.data && license.data.spdx ? license.data.spdx : 'UNKNOWN'
33
const pkgLicensePass = license && license.pass === true
34
- const pkgSeverity = maxSeverity === 0
35
- ? SEVERITY_RMAP[maxSeverity]
+ const pkgSeverity = maxSeverity === 0
+ ? SEVERITY_RMAP[maxSeverity]
36
: `<div style="color:${['#89a19d', '#ffb726', '#ff8b40', '#ff6040'][maxSeverity - 1]}">${SEVERITY_RMAP[maxSeverity]}</div>`
37
38
alternate = !alternate
0 commit comments