Permalink
Browse files

fix commands using outdated command, like `npm update`

  • Loading branch information...
1 parent 5107b57 commit 8375a50acf0007753a5772487586799a15800064 @donpark donpark committed with isaacs Jul 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/outdated.js
View
@@ -30,7 +30,7 @@ function outdated (args, silent, cb) {
if (typeof cb !== "function") cb = silent, silent = false
var dir = path.resolve(npm.dir, "..")
outdated_(args, dir, {}, function (er, list) {
- if (er || silent) return cb(er)
+ if (er || silent) return cb(er, list)
var outList = list.map(makePretty)
console.log(outList.join("\n"))
cb(null, list)

0 comments on commit 8375a50

Please sign in to comment.