summaryrefslogtreecommitdiff
path: root/hooks/server/ci.ts
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/server/ci.ts')
-rw-r--r--hooks/server/ci.ts15
1 files changed, 8 insertions, 7 deletions
diff --git a/hooks/server/ci.ts b/hooks/server/ci.ts
index 8f06124..4f0d7ba 100644
--- a/hooks/server/ci.ts
+++ b/hooks/server/ci.ts
@@ -24,15 +24,16 @@ export class CiHookServer {
healthCheck: HealthChecker = _healthCheck,
jobQueuer: IJobQueuer<ITraceable<Job, ServerTrace>> = new LaminarJobQueuer(
getRequiredEnv("LAMINAR_URL").fold((err, val) =>
- err ? "https://ci.liz.coffee" : val
+ err ? "https://ci.liz.coffee" : val,
),
),
- private readonly healthCheckActivity: IHealthCheckActivity =
- new HealthCheckActivityImpl(healthCheck),
- private readonly jobHookActivity: IJobHookActivity =
- new JobHookActivityImpl(jobQueuer),
- private readonly fourOhFourActivity: IFourOhFourActivity =
- new FourOhFourActivityImpl(),
+ private readonly healthCheckActivity: IHealthCheckActivity = new HealthCheckActivityImpl(
+ healthCheck,
+ ),
+ private readonly jobHookActivity: IJobHookActivity = new JobHookActivityImpl(
+ jobQueuer,
+ ),
+ private readonly fourOhFourActivity: IFourOhFourActivity = new FourOhFourActivityImpl(),
) {}
private route(req: ITraceable<PenguenoRequest, ServerTrace>) {