diff options
Diffstat (limited to 'deps/npm/lib/install/action/fetch.js')
-rw-r--r-- | deps/npm/lib/install/action/fetch.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/npm/lib/install/action/fetch.js b/deps/npm/lib/install/action/fetch.js index a706b1967b..0e9146a0d5 100644 --- a/deps/npm/lib/install/action/fetch.js +++ b/deps/npm/lib/install/action/fetch.js @@ -3,7 +3,7 @@ // var packageId = require('../../utils/package-id.js') // var moduleName = require('../../utils/module-name.js') -module.exports = function (top, buildpath, pkg, log, next) { +module.exports = function (staging, pkg, log, next) { next() /* // FIXME: Unnecessary as long as we have to have the tarball to resolve all deps, which @@ -24,6 +24,6 @@ module.exports = function (top, buildpath, pkg, log, next) { name = pkg.package._requested.raw } log.silly('fetch', packageId(pkg)) - cache.add(name, version, top, false, next) + cache.add(name, version, pkg.parent.path, false, next) */ } |