Your IP : 3.135.185.207


Current Path : /usr/lib/node_modules/npm/node_modules/npm-audit-report/reporters/
Upload File :
Current File : //usr/lib/node_modules/npm/node_modules/npm-audit-report/reporters/quiet.js

'use strict'

const Utils = require('../lib/utils')

const report = function (data) {
  const totalVulnCount = Utils.totalVulnCount(data.metadata.vulnerabilities)

  return {
    report: '',
    exitCode: totalVulnCount === 0 ? 0 : 1
  }
}

module.exports = report

?>