summaryrefslogtreecommitdiff
path: root/deps/npm/lib/install/action/preinstall.js
blob: abd767016e36ab45dbcb6a70822092a10e0ad2d9 (plain)
1
2
3
4
5
6
7
8
'use strict'
var lifecycle = require('../../utils/lifecycle.js')
var packageId = require('../../utils/package-id.js')

module.exports = function (top, buildpath, pkg, log, next) {
  log.silly('preinstall', packageId(pkg), buildpath)
  lifecycle(pkg.package, 'preinstall', buildpath, false, false, next)
}