We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70f03ee commit 9bb5ed6Copy full SHA for 9bb5ed6
src/examples/client/simpleOAuthClient.ts
@@ -108,11 +108,7 @@ class InteractiveOAuthClient {
108
private async openBrowser(url: string): Promise<void> {
109
console.log(`🌐 Opening browser for authorization: ${url}`);
110
111
- // Use platform-specific commands to open browser
112
- const platform = process.platform;
113
- let command: string;
114
-
115
- command = `open "${url}"`;
+ const command = `open "${url}"`;
116
117
exec(command, (error) => {
118
if (error) {
0 commit comments