From 7b9e1e6cba7848e13acf71bcff183743d4f29831 Mon Sep 17 00:00:00 2001 From: William Valentin Date: Thu, 26 Feb 2026 11:28:29 -0800 Subject: [PATCH] fix(auth): correct ternary indentation in openBrowser --- src/auth/anthropic.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/anthropic.ts b/src/auth/anthropic.ts index 1bf4525..253c84c 100644 --- a/src/auth/anthropic.ts +++ b/src/auth/anthropic.ts @@ -92,7 +92,7 @@ export function startCallbackServer(timeoutMs: number): Promise export function openBrowser(url: string): void { const cmd = process.platform === 'win32' ? 'start' : process.platform === 'darwin' ? 'open' - : 'xdg-open'; + : 'xdg-open'; try { spawn(cmd, [url], { detached: true, stdio: 'ignore' }).unref(); } catch {