Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
remote-helper: Use render target in push spinner
✗ CI failure Erik Kundt committed 10 months ago
commit a8776e03f399cfcfb3648f5915224abc8ad5dc72
parent 6846bf78800272752773fc2159a7c37778a9e209
1 failed (1 total) View logs
1 file changed +3 -3
modified crates/radicle-remote-helper/src/push.rs
@@ -884,16 +884,16 @@ fn sync(
    profile: &Profile,
) -> Result<(), cli::node::SyncError> {
    let progress = if io::stderr().is_terminal() {
-
        cli::node::SyncWriter::Stderr(io::stderr())
+
        term::RenderTarget::Stderr
    } else {
-
        cli::node::SyncWriter::Sink
+
        term::RenderTarget::Hidden
    };
    let result = cli::node::announce(
        repo,
        cli::node::SyncSettings::default().with_profile(profile),
        cli::node::SyncReporting {
            progress,
-
            completion: cli::node::SyncWriter::Stderr(io::stderr()),
+
            completion: term::RenderTarget::Stderr,
            debug: opts.sync_debug,
        },
        &mut node,