fix(auth): correct ternary indentation in openBrowser
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user