(name, e)
| 27 | process.stderr.on('data', (d) => streams[name].err.push(d.toString())) |
| 28 | } |
| 29 | const collectErrorStreams = (name, e) => { |
| 30 | e.stdout && streams[name].out.push(e.stdout) |
| 31 | e.stderr && streams[name].err.push(e.stderr) |
| 32 | } |
| 33 | |
| 34 | // helper to output stream content on error |
| 35 | const printStreamsToConsole = async (name) => { |