chore: fix lint in gateway cli test

This commit is contained in:
Peter Steinberger committed 2026-01-08 04:00:49 +01:00
1 parent 69d8e46b84
commit 47e141f03d
2 files changed
+3 -2

No files matched your search

@@ -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";
+3 -1
View File
@@ -232,7 +232,9 @@ async function installGatewayService(opts: GatewayServiceInstallOpts) {
const environment: Record<string, string | undefined> = {
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,
};