mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-08 21:56:12 +02: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
@ -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…
x
Reference in New Issue
Block a user