Skip to content

Commit 077444e

Browse files
committed
simplify yaml case to be default case aswell
1 parent 32bc479 commit 077444e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

internal/cmd/auth/get-access-token/get_access_token.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ func NewCmd(params *params.CmdParams) *cobra.Command {
5858
}
5959
params.Printer.Outputln(string(details))
6060

61-
return nil
62-
case print.YAMLOutputFormat:
63-
params.Printer.Outputln(accessToken)
64-
6561
return nil
6662
default:
6763
params.Printer.Outputln(accessToken)

0 commit comments

Comments
 (0)