We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a976fa1 commit 0d35975Copy full SHA for 0d35975
lib/install/action/preinstall.js
@@ -1,9 +1,8 @@
1
'use strict'
2
var lifecycle = require('../../utils/lifecycle.js')
3
var packageId = require('../../utils/package-id.js')
4
-var moduleStagingPath = require('../module-staging-path.js')
5
6
module.exports = function (staging, pkg, log, next) {
7
log.silly('preinstall', packageId(pkg))
8
- lifecycle(pkg.package, 'preinstall', moduleStagingPath(staging, pkg), false, false, next)
+ lifecycle(pkg.package, 'preinstall', pkg.path, false, false, next)
9
}
0 commit comments