diff options
Diffstat (limited to 'lib/install/action/preinstall.js')
-rw-r--r-- | lib/install/action/preinstall.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/install/action/preinstall.js b/lib/install/action/preinstall.js index a6f85b0a5..a16082ef7 100644 --- a/lib/install/action/preinstall.js +++ b/lib/install/action/preinstall.js @@ -1,9 +1,8 @@ 'use strict' var lifecycle = require('../../utils/lifecycle.js') var packageId = require('../../utils/package-id.js') -var moduleStagingPath = require('../module-staging-path.js') module.exports = function (staging, pkg, log, next) { log.silly('preinstall', packageId(pkg)) - lifecycle(pkg.package, 'preinstall', moduleStagingPath(staging, pkg), false, false, next) + lifecycle(pkg.package, 'preinstall', pkg.path, false, false, next) } |