diff options
Diffstat (limited to 'src/user.rs')
-rw-r--r-- | src/user.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/user.rs b/src/user.rs index d38d8b5..6f7de40 100644 --- a/src/user.rs +++ b/src/user.rs @@ -685,12 +685,12 @@ async fn list_activity(api: &Forgejo, user: Option<&str>) -> eyre::Result<()> { .as_deref() .ok_or_eyre("parent repo does not have full name")?; println!("{bold}{actor_name}{reset} forked repository {bold}{yellow}{parent_full_name}{reset} to {bold}{yellow}{full_name}{reset}"); + } else if repo.mirror.is_some_and(|b| b) { + println!( + "{bold}{actor_name}{reset} created mirror {bold}{yellow}{full_name}{reset}" + ); } else { - if repo.mirror.is_some_and(|b| b) { - println!("{bold}{actor_name}{reset} created mirror {bold}{yellow}{full_name}{reset}"); - } else { - println!("{bold}{actor_name}{reset} created repository {bold}{yellow}{full_name}{reset}"); - } + println!("{bold}{actor_name}{reset} created repository {bold}{yellow}{full_name}{reset}"); } } ActivityOpType::RenameRepo => { |