fix(ux): remove duplicate OAuth browser fallback URL message (#2143)

The DigitalOcean OAuth flow printed two near-identical fallback URL
messages: one manually before calling openBrowser(), and one from
openBrowser() itself. Remove the manual one since openBrowser()
already handles the fallback.

Fixes #2140

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
A 2026-03-03 11:50:30 -08:00 committed by GitHub
parent 91960b5e80
commit f1ca7808c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -426,7 +426,6 @@ async function tryDoOAuth(): Promise<string | null> {
const authUrl = `${DO_OAUTH_AUTHORIZE}?${authParams.toString()}`;
logStep("Opening browser to authorize with DigitalOcean...");
logStep(`If the browser doesn't open, visit: ${authUrl}`);
openBrowser(authUrl);
// Wait up to 120 seconds