Skip to content

Commit

Permalink
fix hangup logic (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
jairad26 authored Oct 25, 2024
1 parent 910dc6f commit 7ddf659
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/commands/login/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default class LoginIndex extends Command {
public async openLoginPage() {
// Open the Hypermode sign-in page in the default browser
const loginUrl = 'https://hypermode.com/app/callback?port=5051&type=cli'
await open(loginUrl, {wait: false})
await open(loginUrl)
}

public async run(): Promise<void> {
Expand Down
2 changes: 0 additions & 2 deletions src/util/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ export async function promptOrgSelection(orgs: Org[]): Promise<Org> {
message: 'Please select an organization:',
})

console.log(`Selected organization: ${chalk.dim(selectedOrg.slug)}`)

return selectedOrg
} catch (error) {
const error_ = error instanceof ExitPromptError ? new TypeError(chalk.red('Organization selection prompt exited.')) : error
Expand Down

0 comments on commit 7ddf659

Please sign in to comment.