Merge branch 'report-cleanup' into 'main'
Clean up report when no new links See merge request kernald/reddit-magnet!11
This commit is contained in:
commit
6314d6764c
1 changed files with 5 additions and 0 deletions
|
|
@ -42,6 +42,11 @@ pub fn generate_report(
|
||||||
style(format!("({} new links)", total_count)).bold()
|
style(format!("({} new links)", total_count)).bold()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if failed_count == 0 && success_count == 0 {
|
||||||
|
info!("");
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// Success/failure summary
|
// Success/failure summary
|
||||||
if failed_count > 0 {
|
if failed_count > 0 {
|
||||||
info!(
|
info!(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue