From 0aba91191200075d1ab807d8a4a7c1a5f044e0eb Mon Sep 17 00:00:00 2001 From: Friederike Seiler Date: Sun, 11 Jan 2026 15:51:03 +0100 Subject: [PATCH] Chores: format chutes oauth --- src/commands/chutes-oauth.test.ts | 1 - src/commands/chutes-oauth.ts | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/commands/chutes-oauth.test.ts b/src/commands/chutes-oauth.test.ts index 5e29f683c..ff1108894 100644 --- a/src/commands/chutes-oauth.test.ts +++ b/src/commands/chutes-oauth.test.ts @@ -110,4 +110,3 @@ describe("loginChutes", () => { expect(creds.email).toBe("manual-user"); }); }); - diff --git a/src/commands/chutes-oauth.ts b/src/commands/chutes-oauth.ts index d6edf14c5..75fc0fd67 100644 --- a/src/commands/chutes-oauth.ts +++ b/src/commands/chutes-oauth.ts @@ -41,7 +41,9 @@ async function waitForLocalCallback(params: { }): Promise<{ code: string; state: string }> { const redirectUrl = new URL(params.redirectUri); if (redirectUrl.protocol !== "http:") { - throw new Error(`Chutes OAuth redirect URI must be http:// (got ${params.redirectUri})`); + throw new Error( + `Chutes OAuth redirect URI must be http:// (got ${params.redirectUri})`, + ); } const hostname = redirectUrl.hostname || "127.0.0.1"; const port = redirectUrl.port ? Number.parseInt(redirectUrl.port, 10) : 80;