diff --git a/src/gateway/server.test.ts b/src/gateway/server.test.ts index 417ef0056..600687845 100644 --- a/src/gateway/server.test.ts +++ b/src/gateway/server.test.ts @@ -2078,7 +2078,11 @@ describe("gateway server", () => { test("chat.abort returns aborted=false for unknown runId", async () => { const dir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdis-gw-")); testSessionStorePath = path.join(dir, "sessions.json"); - await fs.writeFile(testSessionStorePath, JSON.stringify({}, null, 2), "utf-8"); + await fs.writeFile( + testSessionStorePath, + JSON.stringify({}, null, 2), + "utf-8", + ); const { server, ws } = await startServerWithClient(); await connectOk(ws); diff --git a/src/gateway/server.ts b/src/gateway/server.ts index 2d3c58915..0eed58948 100644 --- a/src/gateway/server.ts +++ b/src/gateway/server.ts @@ -540,9 +540,7 @@ async function refreshHealthSnapshot(_opts?: { probe?: boolean }) { return healthRefresh; } -export async function startGatewayServer( - port = 18789, -): Promise { +export async function startGatewayServer(port = 18789): Promise { const host = "127.0.0.1"; const httpServer: HttpServer = createHttpServer(); let bonjourStop: (() => Promise) | null = null;