Skip to content

Commit 7ddf659

Browse files
authored
fix hangup logic (#20)
1 parent 910dc6f commit 7ddf659

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/commands/login/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default class LoginIndex extends Command {
7373
public async openLoginPage() {
7474
// Open the Hypermode sign-in page in the default browser
7575
const loginUrl = 'https://hypermode.com/app/callback?port=5051&type=cli'
76-
await open(loginUrl, {wait: false})
76+
await open(loginUrl)
7777
}
7878

7979
public async run(): Promise<void> {

src/util/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ export async function promptOrgSelection(orgs: Org[]): Promise<Org> {
3030
message: 'Please select an organization:',
3131
})
3232

33-
console.log(`Selected organization: ${chalk.dim(selectedOrg.slug)}`)
34-
3533
return selectedOrg
3634
} catch (error) {
3735
const error_ = error instanceof ExitPromptError ? new TypeError(chalk.red('Organization selection prompt exited.')) : error

0 commit comments

Comments
 (0)