Skip to content

Commit

Permalink
refactor: update class name
Browse files Browse the repository at this point in the history
  • Loading branch information
k80bowman committed Mar 4, 2024
1 parent 54bcb49 commit c222a69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/cli/src/commands/orgs/open.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as open from 'open'
import {ux} from '@oclif/core'
import color from '@heroku-cli/color'

export default class Open extends Command {
export default class OrgsOpen extends Command {
static topic = 'orgs';
static description = 'open the team interface in a browser window';
static flags = {
Expand All @@ -17,9 +17,9 @@ export default class Open extends Command {
}

public async run(): Promise<void> {
const {flags, argv, args} = await this.parse(Open)
const {flags, argv, args} = await this.parse(OrgsOpen)
const team = flags.team
const {body: org} = await this.heroku.get<Heroku.Team>(`/teams/${team}`)
await Open.openUrl(`https://dashboard.heroku.com/teams/${org.name}`)
await OrgsOpen.openUrl(`https://dashboard.heroku.com/teams/${org.name}`)
}
}

0 comments on commit c222a69

Please sign in to comment.