chore: fix lint in gateway cli test

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

View File

@ -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";

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,
};