Skip to content

Commit

Permalink
fix: uncheck error in tokenShowAction
Browse files Browse the repository at this point in the history
  • Loading branch information
loikg committed Oct 9, 2023
1 parent c41889b commit 04259aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/cmd/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,7 @@ func tokenShowAction(ctx *cli.Context) error {
}

if ctx.NArg() != 1 {
cli.ShowSubcommandHelp(ctx)
return nil
return cli.ShowSubcommandHelp(ctx)
}
tokenID, err := hedera.TokenIDFromString(ctx.Args().First())
if err != nil {
Expand Down

0 comments on commit 04259aa

Please sign in to comment.