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;