mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 15:37:46 +03:00
15 lines
344 B
JavaScript
15 lines
344 B
JavaScript
'use strict'
|
|
|
|
const childProcess = require('child_process')
|
|
|
|
const CONFIG = require('../config')
|
|
|
|
module.exports = function (ci) {
|
|
console.log('Installing script dependencies')
|
|
childProcess.execFileSync(
|
|
CONFIG.getNpmBinPath(ci),
|
|
['--loglevel=error', ci ? 'ci' : 'install'],
|
|
{env: process.env, cwd: CONFIG.scriptRootPath}
|
|
)
|
|
}
|