Skip to content

Commit

Permalink
fix: fix parsed clientId value
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti committed Nov 28, 2023
1 parent 3685b69 commit 909ae17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/commands/applications/add.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default class ApplicationsAdd extends Command {
async parse(c: any): Promise<any> {
clCommand.fixDashedFlagValue(this.argv, c.flags.clientId)
const parsed = await super.parse(c)
clCommand.fixDashedFlagValue(this.argv, c.flags.clientId)
clCommand.fixDashedFlagValue(this.argv, c.flags.clientId, 'i', parsed)
return parsed
}

Expand Down
2 changes: 1 addition & 1 deletion src/commands/applications/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default class ApplicationsLogin extends Command {
async parse(c: any): Promise<any> {
clCommand.fixDashedFlagValue(this.argv, c.flags.clientId)
const parsed = await super.parse(c)
clCommand.fixDashedFlagValue(this.argv, c.flags.clientId)
clCommand.fixDashedFlagValue(this.argv, c.flags.clientId, 'i', parsed)
return parsed
}

Expand Down

0 comments on commit 909ae17

Please sign in to comment.