fix formatting (treefmt)
This commit is contained in:
parent
fac326aa35
commit
6d2e56e7c8
2 changed files with 3 additions and 8 deletions
|
|
@ -389,11 +389,8 @@ impl Surface for AgentSurface {
|
|||
}
|
||||
|
||||
async fn wake_external(socket: &Path, from: String, body: String) -> Result<()> {
|
||||
let resp: AgentResponse = client::request(
|
||||
socket,
|
||||
&AgentRequest::Wake { from, body },
|
||||
)
|
||||
.await?;
|
||||
let resp: AgentResponse =
|
||||
client::request(socket, &AgentRequest::Wake { from, body }).await?;
|
||||
match resp {
|
||||
AgentResponse::Ok => Ok(()),
|
||||
AgentResponse::Err { message } => anyhow::bail!("wake: {message}"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue