From 9bb5ed6dc96b05f94122a4a5fdb08ecd68446b8a Mon Sep 17 00:00:00 2001 From: ihrpr Date: Wed, 21 May 2025 21:32:01 +0100 Subject: [PATCH] lint --- src/examples/client/simpleOAuthClient.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/examples/client/simpleOAuthClient.ts b/src/examples/client/simpleOAuthClient.ts index 8d3759c1..4531f4c2 100644 --- a/src/examples/client/simpleOAuthClient.ts +++ b/src/examples/client/simpleOAuthClient.ts @@ -108,11 +108,7 @@ class InteractiveOAuthClient { private async openBrowser(url: string): Promise { console.log(`🌐 Opening browser for authorization: ${url}`); - // Use platform-specific commands to open browser - const platform = process.platform; - let command: string; - - command = `open "${url}"`; + const command = `open "${url}"`; exec(command, (error) => { if (error) {