Skip to content

Commit

Permalink
fixup! Add IPC transport implementation for Unix
Browse files Browse the repository at this point in the history
  • Loading branch information
FelipeRosa committed Dec 15, 2020
1 parent 94ade42 commit 93d190f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/transports/ipc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,7 @@ async fn run_server(unix_stream: UnixStream, messages_rx: mpsc::UnboundedReceive
};

for output in outputs {
let id = match &output {
rpc::Output::Success(success) => success.id.clone(),
rpc::Output::Failure(failure) => failure.id.clone(),
};
let id = output.id().clone();

let value = match helpers::to_result_from_output(output) {
Ok(value) => value,
Expand Down

0 comments on commit 93d190f

Please sign in to comment.