summaryrefslogtreecommitdiff
path: root/worker/scripts/checkout_ci.ts
diff options
context:
space:
mode:
Diffstat (limited to 'worker/scripts/checkout_ci.ts')
-rwxr-xr-xworker/scripts/checkout_ci.ts10
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) {