From 47e141f03d69bedf4286f69c5f716eaa75735bc4 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Thu, 8 Jan 2026 04:00:49 +0100 Subject: [PATCH] chore: fix lint in gateway cli test --- src/auto-reply/reply/agent-runner.heartbeat-typing.test.ts | 1 - src/cli/gateway-cli.ts | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/auto-reply/reply/agent-runner.heartbeat-typing.test.ts b/src/auto-reply/reply/agent-runner.heartbeat-typing.test.ts index 280b264c6..5ae3b6ec1 100644 --- a/src/auto-reply/reply/agent-runner.heartbeat-typing.test.ts +++ b/src/auto-reply/reply/agent-runner.heartbeat-typing.test.ts @@ -3,7 +3,6 @@ import { tmpdir } from "node:os"; import path from "node:path"; import { describe, expect, it, vi } from "vitest"; -import * as sessions from "../../config/sessions.js"; import type { SessionEntry } from "../../config/sessions.js"; import * as sessions from "../../config/sessions.js"; import type { TemplateContext } from "../templating.js"; diff --git a/src/cli/gateway-cli.ts b/src/cli/gateway-cli.ts index 32cab167d..9a9544c15 100644 --- a/src/cli/gateway-cli.ts +++ b/src/cli/gateway-cli.ts @@ -232,7 +232,9 @@ async function installGatewayService(opts: GatewayServiceInstallOpts) { const environment: Record = { PATH: process.env.PATH, CLAWDBOT_GATEWAY_TOKEN: opts.token ? String(opts.token) : undefined, - CLAWDBOT_GATEWAY_PASSWORD: opts.password ? String(opts.password) : undefined, + CLAWDBOT_GATEWAY_PASSWORD: opts.password + ? String(opts.password) + : undefined, CLAWDBOT_LAUNCHD_LABEL: process.platform === "darwin" ? GATEWAY_LAUNCH_AGENT_LABEL : undefined, };