summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2024-04-18 03:24:45 +0200
committerCyborus <cyborus@cyborus.xyz>2024-04-18 03:24:45 +0200
commit2587bf948252e277300aad60a8392575f26a9cc9 (patch)
tree5d6df7b8c8d366e602ccd9b5bd0ef2ed83585769 /src
parentadd proper readout for `repo info` (diff)
downloadforgejo-cli-2587bf948252e277300aad60a8392575f26a9cc9.tar.xz
forgejo-cli-2587bf948252e277300aad60a8392575f26a9cc9.zip
format
Diffstat (limited to 'src')
-rw-r--r--src/repo.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/repo.rs b/src/repo.rs
index b0e88c4..5f2fcb7 100644
--- a/src/repo.rs
+++ b/src/repo.rs
@@ -348,7 +348,10 @@ impl RepoCommand {
println!("{}", repo.full_name.ok_or_eyre("no full name")?);
if let Some(parent) = &repo.parent {
- println!("Fork of {}", parent.full_name.as_ref().ok_or_eyre("no full name")?);
+ println!(
+ "Fork of {}",
+ parent.full_name.as_ref().ok_or_eyre("no full name")?
+ );
}
if repo.mirror == Some(true) {
if let Some(original) = &repo.original_url {