summaryrefslogtreecommitdiff
path: root/deps/npm/lib/cache.js
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-03-12 21:10:40 -0700
committerisaacs <i@izs.me>2012-03-12 21:34:07 -0700
commitbcb0cc0b184c61313541002e504948ed21f59dad (patch)
treea450d6cc88d309c5240867b82faaaef695c4f000 /deps/npm/lib/cache.js
parent9701f1c4b27ac41928c22f076b185d0517bb0d9d (diff)
downloadnode-new-bcb0cc0b184c61313541002e504948ed21f59dad.tar.gz
Upgrade npm to 1.1.6
* Fix #472 Adds support for os/cpu fields in package.json (Adam Blackburn) * Don't use existing pkg if explicit * Install missing deps, even if they are in bundleDependencies * bundle node-gyp * Automatically node-gyp build stuff with a bindings.gyp * Fix #2230 Unpack in place. No folder renaming malarky * Never create un-listable directories * Fix cases where an optionalDependency fails to build * Always ignore .wafpickle-7 files * fix shrinkwrap test * Fix: bundleDependencies being re-installed unnecessarily
Diffstat (limited to 'deps/npm/lib/cache.js')
-rw-r--r--deps/npm/lib/cache.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/lib/cache.js b/deps/npm/lib/cache.js
index ddc4903f66..e8aac5d2fa 100644
--- a/deps/npm/lib/cache.js
+++ b/deps/npm/lib/cache.js
@@ -758,7 +758,7 @@ function addTmpTarball_ (tgz, name, uid, gid, cb) {
, uid, gid
, function (er) {
if (er) {
- return log.er(cb, "couldn't unpack "+tgz+" to "+contents)(er)
+ return cb(er)
}
fs.readdir(contents, function (er, folder) {
if (er) return log.er(cb, "couldn't readdir "+contents)(er)