Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cli/cob: Remove check of `BrokenPipe`
Lorenz Leutgeb committed 10 days ago
commit bfedeeac9148798ff445054b8c01406f894e1a68
parent ee066331e6cda5cd6681cff98d6b570b2c7588c8
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,