mirror of
https://github.com/atom/atom.git
synced 2026-01-14 09:27:57 -05:00
16 lines
352 B
JavaScript
16 lines
352 B
JavaScript
'use strict'
|
|
|
|
const childProcess = require('child_process')
|
|
const path = require('path')
|
|
|
|
const CONFIG = require('../config')
|
|
|
|
module.exports = function () {
|
|
console.log('Installing script dependencies')
|
|
childProcess.execFileSync(
|
|
CONFIG.npmBinPath,
|
|
['--loglevel=error', 'install'],
|
|
{env: process.env, cwd: CONFIG.scriptRootPath}
|
|
)
|
|
}
|