(cmd)
| 24 | */ |
| 25 | async function prCheck() { |
| 26 | const runCheck = (cmd) => { |
| 27 | const {status} = timedExec(cmd); |
| 28 | if (status != 0) { |
| 29 | stopTimer(jobName, startTime); |
| 30 | throw new Error('Local PR check failed. See logs above.'); |
| 31 | } |
| 32 | }; |
| 33 | |
| 34 | setLoggingPrefix(jobName); |
| 35 | const startTime = startTimer(jobName); |