mirror of
https://github.com/sreedevk/deduplicator.git
synced 2026-09-07 22:36:17 +00:00
removed early return
This commit is contained in:
@@ -124,7 +124,6 @@ impl Formatter {
|
|||||||
if app_args.json {
|
if app_args.json {
|
||||||
let output_json = serde_json::to_string_pretty(&raw)?;
|
let output_json = serde_json::to_string_pretty(&raw)?;
|
||||||
println!("{}", output_json);
|
println!("{}", output_json);
|
||||||
return Ok(());
|
|
||||||
} else {
|
} else {
|
||||||
let output_table = Self::generate_table(raw, app_args)?;
|
let output_table = Self::generate_table(raw, app_args)?;
|
||||||
output_table.printstd();
|
output_table.printstd();
|
||||||
|
|||||||
Reference in New Issue
Block a user