Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW: cargo fmt
Lorenz Leutgeb committed 6 months ago
commit 32e23b5116fafbf3a9d2719cee61bc7746ffb8ec
parent 82eb1699ed68d52f15831446c8850d72800053aa
1 file changed +4 -5
modified crates/radicle-cli/src/commands/inspect.rs
@@ -35,7 +35,7 @@ pub fn run(args: Args, ctx: impl term::Context) -> anyhow::Result<()> {
                    .map(|(_, id)| id)
                    .context("Supplied argument is not a valid path")?
            }
-
        },
+
        }
        None => radicle::rad::cwd()
            .map(|(_, rid)| rid)
            .context("Current directory is not a Radicle repository")?,
@@ -147,11 +147,10 @@ pub fn run(args: Args, ctx: impl term::Context) -> anyhow::Result<()> {
                FixedOffset::west(tip.time().offset_minutes() * 60)
            };
            let time = DateTime::<Utc>::from(
-
                std::time::UNIX_EPOCH
-
                    + std::time::Duration::from_secs(tip.time().seconds() as u64),
+
                std::time::UNIX_EPOCH + std::time::Duration::from_secs(tip.time().seconds() as u64),
            )
-
                .with_timezone(&timezone)
-
                .to_rfc2822();
+
            .with_timezone(&timezone)
+
            .to_rfc2822();

            println!(
                "{} {}",