Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW: Remove handling of `BrokenPipe`
Lorenz Leutgeb committed 24 days ago
commit ad87939cf352f8ea0b52983948608d183d32376f
parent 4c10dcc17cb22909193c643410b464e469e8d268
1 file changed +1 -8
modified crates/radicle-cli/src/commands/cob.rs
@@ -156,14 +156,7 @@ pub fn run(args: Args, ctx: impl term::Context) -> anyhow::Result<()> {
            ..
        } => {
            let repo = storage.repository(repo)?;
-
            if let Err(e) = show(objects, &repo, type_name.into(), &profile) {
-
                if let Some(err) = e.downcast_ref::<std::io::Error>() {
-
                    if err.kind() == std::io::ErrorKind::BrokenPipe {
-
                        return Ok(());
-
                    }
-
                }
-
                return Err(e);
-
            }
+
            show(objects, &repo, type_name.into(), &profile)?;
        }
        Update(args::Update {
            repo,