Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
cli/cob: Remove check of `BrokenPipe`
Lorenz Leutgeb committed 1 day ago
commit 553a3ebd0a205eb08c6ee9c1a415e0dd00f71b16
parent 56625a4
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,