Skip to content

Commit

Permalink
fix issue #30 with raw returning invalid json
Browse files Browse the repository at this point in the history
  • Loading branch information
sergi0g committed Sep 24, 2024
1 parent 6b15d8d commit 65b2bec
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,10 @@ async fn main() {
}
None => {
let start = Local::now().timestamp_millis();
match *raw || cli.verbose {
match raw {
true => {
let updates = get_all_updates(&cli_config).await;
let end = Local::now().timestamp_millis();
print_raw_updates(&updates);
info!("✨ Checked {} images in {}ms", updates.len(), end - start);
}
false => {
let spinner = Spinner::new();
Expand Down

0 comments on commit 65b2bec

Please sign in to comment.