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:
Diffstat (limited to 'lib/update.js')
-rw-r--r--lib/update.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/update.js b/lib/update.js
index d76f85d64..919323d5b 100644
--- a/lib/update.js
+++ b/lib/update.js
@@ -23,7 +23,7 @@ function update (args, cb) {
npm.commands.outdated(args, true, function (er, outdated) {
log(outdated, "outdated updating")
if (er) return cb(er)
- asyncMap(outdated, function (ww) {
+ asyncMap(outdated, function (ww, cb) {
log(ww, "updating")
var where = ww[0]
, what = ww[1]