remove non mac open browser commands
This commit is contained in:
parent
8fd635cf72
commit
70f03ee648
1 changed files with 1 additions and 7 deletions
|
|
@ -112,13 +112,7 @@ class InteractiveOAuthClient {
|
|||
const platform = process.platform;
|
||||
let command: string;
|
||||
|
||||
if (platform === 'darwin') {
|
||||
command = `open "${url}"`;
|
||||
} else if (platform === 'win32') {
|
||||
command = `start "" "${url}"`;
|
||||
} else {
|
||||
command = `xdg-open "${url}"`;
|
||||
}
|
||||
command = `open "${url}"`;
|
||||
|
||||
exec(command, (error) => {
|
||||
if (error) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue