mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
release: Don't capture stdout when unnecessary
This should make it easier to troubleshoot issues.
This commit is contained in:
parent
83b55eb41f
commit
8db6b5da4a
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@ if (!release) {
|
|||
const cwd = path.join(fs.realpathSync(__dirname), '../../');
|
||||
process.chdir(cwd);
|
||||
|
||||
const run = childProcess.execSync;
|
||||
// Run command without capturing stdout.
|
||||
const run = (cmd, opts = {}) => childProcess.execSync(cmd, {stdio: 'inherit', ...opts});
|
||||
|
||||
const readJson = (filename) => JSON.parse(fs.readFileSync(filename, {encoding: 'utf8', flag: 'r'}));
|
||||
const writeJson = (filename, obj) => {
|
||||
|
|
Loading…
Reference in a new issue