MCPcopy Create free account
hub / github.com/npm/cli / printAuditReport

Function printAuditReport

lib/utils/reify-output.js:143–149  ·  view source on GitHub ↗
(npm, report)

Source from the content-addressed store, hash-verified

141// if we get here, we know it's not quiet or json.
142// If the loglevel is silent, then we just run the report to get the exitCode set appropriately.
143const printAuditReport = (npm, report) => {
144 const res = getAuditReport(npm, report)
145 if (!res || !res.report) {
146 return
147 }
148 output.standard(`\n${res.report}`)
149}
150
151const getAuditReport = (npm, report) => {
152 if (!report) {

Callers 1

reifyOutputFunction · 0.85

Calls 1

getAuditReportFunction · 0.85

Tested by

no test coverage detected