fix(auth): correct ternary indentation in openBrowser

This commit is contained in:
William Valentin
2026-02-26 11:28:29 -08:00
parent 57f08e7005
commit 7b9e1e6cba
+1 -1
View File
@@ -92,7 +92,7 @@ export function startCallbackServer(timeoutMs: number): Promise<CallbackServer>
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 {