Skip to content

Commit 284f98f

Browse files
committed
lint: fix lint
1 parent 927af1e commit 284f98f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/report/html-template.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ function renderHTML (title, summary, report, whitelist) {
3131
: `<div style="color:${['#89a19d', '#ffb726', '#ff8b40', '#ff6040'][i]}">${v} ${['Low', 'Medium', 'High', 'Critical'][i]}</div>`)
3232
const pkgLicense = license && license.data && license.data.spdx ? license.data.spdx : 'UNKNOWN'
3333
const pkgLicensePass = license && license.pass === true
34-
const pkgSeverity = maxSeverity === 0
35-
? SEVERITY_RMAP[maxSeverity]
34+
const pkgSeverity = maxSeverity === 0
35+
? SEVERITY_RMAP[maxSeverity]
3636
: `<div style="color:${['#89a19d', '#ffb726', '#ff8b40', '#ff6040'][maxSeverity - 1]}">${SEVERITY_RMAP[maxSeverity]}</div>`
3737

3838
alternate = !alternate

0 commit comments

Comments
 (0)