(msg)
| 30 | process.stdout.write(`[repro] ${msg}\n`); |
| 31 | }; |
| 32 | const fail = (msg) => { |
| 33 | process.stdout.write(`[repro] FAIL: ${msg}\n`); |
| 34 | process.exit(1); |
| 35 | }; |
| 36 | |
| 37 | // Hard watchdog: nothing below should take more than a few minutes. If it does, |
| 38 | // bail loudly rather than let the container hang (Electron spawns detached |