Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/install.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/install.js b/lib/install.js
index 5d111b32c..266a92545 100644
--- a/lib/install.js
+++ b/lib/install.js
@@ -741,6 +741,9 @@ Installer.prototype.printInstalledForHuman = function (diffs, cb) {
}
})
var report = ''
+ if (added && this.args.length) {
+ report += this.args.map((p) => p.name + '@' + p.version).join('\n') + '\n'
+ }
var actions = []
if (added) actions.push('added ' + packages(added))
if (removed) actions.push('removed ' + packages(removed))