Commit 847dda3 Marcin Lewandowski
committed
1 parent d7274dc commit 847dda3 Copy full SHA for 847dda3
File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -189,13 +189,10 @@ pub fn print_decoded_token(
189
189
( None , _, Ok ( token) ) => {
190
190
let header_output = to_string_pretty ( & token. header ) . unwrap ( ) ;
191
191
let claims_output = to_string_pretty ( & token. claims ) . unwrap ( ) ;
192
- if output_path. is_some ( ) {
193
- } else {
194
- bunt:: println!( "\n {$bold}Token header\n ------------{/$}" ) ;
195
- println ! ( "{}\n " , header_output) ;
196
- bunt:: println!( "{$bold}Token claims\n ------------{/$}" ) ;
197
- println ! ( "{}" , claims_output) ;
198
- }
192
+ bunt:: println!( "\n {$bold}Token header\n ------------{/$}" ) ;
193
+ println ! ( "{}\n " , header_output) ;
194
+ bunt:: println!( "{$bold}Token claims\n ------------{/$}" ) ;
195
+ println ! ( "{}" , claims_output) ;
199
196
}
200
197
( _, _, Err ( _) ) => exit ( 1 ) ,
201
198
}
You can’t perform that action at this time.
0 commit comments