Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Aug 11, 2022. It is now read-only.

Commit 85b8616

Browse filesBrowse files
authored
install: include number of audited packages in output (#20570)
PR-URL: #20570 Credit: @zkat Reviewed-By: @iarna
1 parent 4fa68ae commit 85b8616
Copy full SHA for 85b8616

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

‎lib/install.js

Copy file name to clipboardExpand all lines: lib/install.js
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,9 @@ Installer.prototype.printInstalledForHuman = function (diffs, auditResult) {
834834
if (removed) actions.push('removed ' + packages(removed))
835835
if (updated) actions.push('updated ' + packages(updated))
836836
if (moved) actions.push('moved ' + packages(moved))
837+
if (auditResult && auditResult.metadata.totalDependencies) {
838+
actions.push('audited ' + packages(auditResult.metadata.totalDependencies))
839+
}
837840
if (actions.length === 0) {
838841
report += 'up to date'
839842
} else if (actions.length === 1) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.