diff options
author | Forrest L Norvell <forrest@npmjs.com> | 2014-05-24 01:39:22 +0400 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2014-05-24 01:39:42 +0400 |
commit | ed3abf1aa10000f0f687330e976d78d1955557f6 (patch) | |
tree | 1fd6064b64445066fb33456bfcb5ee14ce1eae94 /lib | |
parent | cd7f45ad54a3d47898a0059fecc7fede922c9f71 (diff) |
fix #5330
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cache/add-local-tarball.js | 2 |
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) |