summaryrefslogtreecommitdiff
path: root/worker/jobs
diff options
context:
space:
mode:
Diffstat (limited to 'worker/jobs')
-rw-r--r--worker/jobs/ci_pipeline.run4
1 files changed, 2 insertions, 2 deletions
diff --git a/worker/jobs/ci_pipeline.run b/worker/jobs/ci_pipeline.run
index 46237f6..66b02ed 100644
--- a/worker/jobs/ci_pipeline.run
+++ b/worker/jobs/ci_pipeline.run
@@ -48,7 +48,7 @@ await LogMetricTraceable.ofLogTraceable(_logJob)
},
};
return Either.fromFailableAsync<Error, CheckoutCiJob>(
- Deno.mkdir(wd).then(() => Deno.chdir(wd))
+ () => Deno.mkdir(wd).then(() => Deno.chdir(wd))
.then(() => tEitherJob.move(fetchPackageJob).map(executeJob).get())
.then(() => ciJob),
);
@@ -58,7 +58,7 @@ await LogMetricTraceable.ofLogTraceable(_logJob)
tEitherCiJob.get().then((eitherCiJob) =>
eitherCiJob.flatMapAsync<{ cmd: Command; job: CheckoutCiJob }>((ciJob) =>
Either.fromFailableAsync<Error, string>(
- Deno.readTextFile(
+ () => Deno.readTextFile(
`${getSrcDirectoryForCiJob(ciJob)}/${CI_WORKFLOW_FILE}`,
),
).then((eitherWorkflowJson) =>