diff options
Diffstat (limited to 'worker/scripts/checkout_ci.ts')
-rwxr-xr-x | worker/scripts/checkout_ci.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/worker/scripts/checkout_ci.ts b/worker/scripts/checkout_ci.ts index ac36d69..65cbc2e 100755 --- a/worker/scripts/checkout_ci.ts +++ b/worker/scripts/checkout_ci.ts @@ -150,6 +150,16 @@ await LogMetricTraceable.ofLogTraceable(logTraceableJob) () => afterJob, ); }) + .map( + TraceUtil.promiseify((e) => + e.get().fold( + (err) => { + throw err; + }, + (ok) => ok, + ), + ), + ) .get(); function getWorkingDirectoryForCiJob(job: CheckoutCiJob) { |