mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 15:37:46 +03:00
16 lines
351 B
JavaScript
16 lines
351 B
JavaScript
'use strict'
|
|
|
|
const childProcess = require('child_process')
|
|
const path = require('path')
|
|
|
|
const CONFIG = require('../config')
|
|
|
|
module.exports = function () {
|
|
console.log('Installing apm')
|
|
childProcess.execFileSync(
|
|
CONFIG.npmBinPath,
|
|
['--global-style', '--loglevel=error', 'install'],
|
|
{env: process.env, cwd: CONFIG.apmRootPath}
|
|
)
|
|
}
|