mirror of
https://seed.radicle.dev/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE.git
synced 2026-11-21 18:40:47 +08:00
feat: depend on radicle-ci-broker via crates.io, plus fixes
The CI broker has dropped the RunResult::Error variant, so drop any use of that. The Request::version field has been added, so deal with that. Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
@@ -33,14 +33,6 @@ pub fn write_failed() -> Result<(), NativeMessageError> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Write a message indicating error to stdout.
|
||||
pub fn write_errored(s: &str) -> Result<(), NativeMessageError> {
|
||||
write_response(&Response::Finished {
|
||||
result: RunResult::Error(s.into()),
|
||||
})?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Write a message indicating success to stdout.
|
||||
pub fn write_succeeded() -> Result<(), NativeMessageError> {
|
||||
write_response(&Response::Finished {
|
||||
|
||||
Reference in New Issue
Block a user