Files
atom/script/lib/install-apm.js
Winston Liu 86ad1c6604 Revert "Install apm using ci"
This reverts commit c7b55e5cea.
2019-06-13 22:26:52 -04:00

16 lines
394 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 }
);
};