auth:web:login --browser <name>
hangs when the browser you try to use isn't installed
#1830
Labels
bug
Issue or pull request that identifies or fixes a bug
Summary
To resolve #1465, the
--browser
flag was added to theauth:web:login
command but with it a bug was introduced that causes the command to hang when you try to use a browser that isn't installed.Steps To Reproduce:
edge
,chrome
, orfirefox
installed.sfdx auth:web:login --browser <nameOfBrowserThatIsNotInstalled>
Expected result
The command should exit with an error saying the browser is not available or installed or something like that.
Actual result
The command just hangs indefinitely until the process is manually killed by the user.
System Information
Powershell 7, although I've seen this on bash too
This is happening with version
2.3.0
ofplugin-auth
The text was updated successfully, but these errors were encountered: