Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
cli: fix outputs
Merged fintohaps opened 11 months ago
  • format! was missing for the "No seeds found" message, so the {rid} was not being formatted.
  • Missing a space between the seed and the timing.
2 files changed +2 -2 ae1165fa caf9e241
modified radicle-cli/src/commands/sync.rs
@@ -882,7 +882,7 @@ fn print_synced(synced: &BTreeMap<NodeId, sync::announce::SyncStatus>) {
            sync::announce::SyncStatus::Synced { duration } => {
                message.push_str(&format!(
                    "{}",
-
                    term::format::dim(format!("in {}s", duration.as_secs()))
+
                    term::format::dim(format!(" in {}s", duration.as_secs()))
                ));
            }
        }
modified radicle-cli/src/node.rs
@@ -224,7 +224,7 @@ where
                term::info!(
                    &mut reporting.completion;
                    "{}",
-
                    term::format::yellow("No seeds found for {rid}.")
+
                    term::format::yellow(format!("No seeds found for {rid}."))
                );
                return Ok(None);
            }