mirror of
https://github.com/atom/atom.git
synced 2026-01-15 01:48:15 -05:00
15 lines
351 B
JavaScript
15 lines
351 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 }
|
|
);
|
|
};
|