From b9105958c1f8c40c10361d8542c647d875b204af Mon Sep 17 00:00:00 2001 From: dp-rufus <73200607+dp-rufus@users.noreply.github.com> Date: Fri, 18 Apr 2025 03:30:43 +0100 Subject: [PATCH] Attempt auto close --- src/lib/utils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/utils.ts b/src/lib/utils.ts index c6238b2..8843c3f 100644 --- a/src/lib/utils.ts +++ b/src/lib/utils.ts @@ -300,7 +300,8 @@ export function setupOAuthCallbackServerWithLongPoll(options: OAuthCallbackServe log('Auth code received, resolving promise') authCompletedResolve(code) - res.send('Authorization successful! You may close this window and return to the CLI.') + res.send('Authorization successful! You may close this window and return to the CLI.' + + '') // Notify main flow that auth code is available options.events.emit('auth-code-received', code)