diff options
author | isaacs <i@izs.me> | 2012-07-19 13:03:28 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-07-19 13:03:28 -0700 |
commit | d9057cc090b8e98fa35533ccf61ec3bfd7002955 (patch) | |
tree | 0fde99b0d0f01ae3f9525d929ef22cf2cfafa72c /deps/npm/lib | |
parent | f6484842b37d515b32e32e4e3bd33274154565a3 (diff) | |
download | node-new-d9057cc090b8e98fa35533ccf61ec3bfd7002955.tar.gz |
npm: Upgrade to 1.1.44
Diffstat (limited to 'deps/npm/lib')
-rw-r--r-- | deps/npm/lib/outdated.js | 2 | ||||
-rw-r--r-- | deps/npm/lib/root.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/deps/npm/lib/outdated.js b/deps/npm/lib/outdated.js index 0c9c66952c..33c182c997 100644 --- a/deps/npm/lib/outdated.js +++ b/deps/npm/lib/outdated.js @@ -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) diff --git a/deps/npm/lib/root.js b/deps/npm/lib/root.js index 409b20b785..b2f731ed55 100644 --- a/deps/npm/lib/root.js +++ b/deps/npm/lib/root.js @@ -7,5 +7,5 @@ root.usage = "npm root\nnpm root -g\n(just prints the root folder)" function root (args, silent, cb) { if (typeof cb !== "function") cb = silent, silent = false if (!silent) console.log(npm.dir) - process.nextTic(cb.bind(this, null, npm.dir)) + process.nextTick(cb.bind(this, null, npm.dir)) } |