/
githubmirror
/
atom
Обзор
Документация
Войти
/
githubmirror
/
atom
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
script/lib/run-apm-install.js
17 строк
513 B
Benjamin Gray
Remove electron configuration (#21354)
08 окт 2020, 20:14
Не верифицирован
08 окт 2020, 20:14
4017527
Код
Авторство
О чём код?
'use strict'; const childProcess = require('child_process'); const CONFIG = require('../config'); module.exports = function(packagePath, ci, stdioOptions) { const installEnv = Object.assign({}, process.env); // Set resource path so that apm can load metadata related to Atom. installEnv.ATOM_RESOURCE_PATH = CONFIG.repositoryRootPath; childProcess.execFileSync(CONFIG.getApmBinPath(), [ci ? 'ci' : 'install'], { env: installEnv, cwd: packagePath, stdio: stdioOptions || 'inherit' }); };