Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
refactor(ci-broker): drop unused imports and other useless code
Lars Wirzenius committed 2 years ago
commit b2862d22907806ff4f653e76079b1960b5a5fd41
parent 43d1a0851bd92aac74920d82aadbed053a73b7e5
1 file changed +2 -9
modified src/bin/ci-broker.rs
@@ -1,25 +1,18 @@
-
#![allow(unused_imports)]
-
#![allow(unused_variables)]
-
#![allow(dead_code)]
-

use std::{
-
    collections::HashMap,
    error::Error,
-
    ffi::OsStr,
    io::BufReader,
-
    path::{Path, PathBuf},
+
    path::PathBuf,
    process::{Command, Stdio},
};

use log::{debug, info};
-
use serde::{Deserialize, Serialize};

use radicle::prelude::{Id, Profile};
use radicle_ci_broker::{
    config::{Adapter, Config},
    error::BrokerError,
    event::NodeEventSource,
-
    filter::{BrokerEvent, EventFilter},
+
    filter::BrokerEvent,
    msg::{Request, Response, RunResult},
};
use radicle_git_ext::Oid;