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
path: root/lib
diff options
context:
space:
mode:
authorForrest L Norvell <forrest@npmjs.com>2014-05-24 01:39:22 +0400
committerForrest L Norvell <forrest@npmjs.com>2014-05-24 01:39:42 +0400
commited3abf1aa10000f0f687330e976d78d1955557f6 (patch)
tree1fd6064b64445066fb33456bfcb5ee14ce1eae94 /lib
parentcd7f45ad54a3d47898a0059fecc7fede922c9f71 (diff)
fix #5330
Diffstat (limited to 'lib')
-rw-r--r--lib/cache/add-local-tarball.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cache/add-local-tarball.js b/lib/cache/add-local-tarball.js
index 22b030495..bcb938fa9 100644
--- a/lib/cache/add-local-tarball.js
+++ b/lib/cache/add-local-tarball.js
@@ -71,7 +71,7 @@ function addLocalTarball (p, pkgData, shasum, cb_) {
log.verbose("chmod", tmp, npm.modes.file.toString(8))
fs.chmod(tmp, npm.modes.file, function (er) {
if (er) return cb(er)
- addTmpTarball(tmp, name, null, shasum, cb)
+ addTmpTarball(tmp, pkgData, shasum, cb)
})
})
from.pipe(to)