mirror of
https://github.com/atom/atom.git
synced 2026-01-15 01:48:15 -05:00
16 lines
387 B
JavaScript
16 lines
387 B
JavaScript
'use strict'
|
|
|
|
const childProcess = require('child_process')
|
|
|
|
const CONFIG = require('../config')
|
|
|
|
module.exports = function (ci) {
|
|
console.log('Installing apm')
|
|
// npm ci leaves apm with a bunch of unmet dependencies
|
|
childProcess.execFileSync(
|
|
CONFIG.getNpmBinPath(),
|
|
['--global-style', '--loglevel=error', 'install'],
|
|
{env: process.env, cwd: CONFIG.apmRootPath}
|
|
)
|
|
}
|