Skip to content

Commit

Permalink
linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
evilpacket committed May 9, 2018
1 parent a31176b commit f948e9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -5,7 +5,7 @@ const reporters = {
detail: require('./reporters/detail'),
json: require('./reporters/json'),
quiet: require('./reporters/quiet'),
summary: require('./reporters/summary'),
summary: require('./reporters/summary')
}

const report = function (data, options) {
Expand Down
4 changes: 1 addition & 3 deletions reporters/summary.js
Expand Up @@ -83,7 +83,6 @@ const report = function (data, options) {
if (Object.keys(data.advisories).length !== 0) {
// vulns found display a report.

let reviewFlag = false
let reviewCount = 0

data.actions.forEach((action) => {
Expand Down Expand Up @@ -115,8 +114,7 @@ const report = function (data, options) {
const severityString = sev.map((value) => {
return `${value[1]} ${Utils.severityLabel(value[0], false)}`
}).join(' | ')

// log(`# To resolve ${count} ${label}`)

log(`# Run ${Utils.color(' ' + recommendation.cmd + ' ', 'inverse', config.withColor)} to resolve ${severityString} ${label}`)
}
if (action.action === 'review') {
Expand Down

0 comments on commit f948e9a

Please sign in to comment.