Skip to content

Commit

Permalink
fix: Windows client is not awaitable
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs committed Aug 2, 2024
1 parent 8617604 commit fa24b0a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,9 @@ pub async fn connect(

#[cfg(windows)]
{
let client = tokio::net::windows::named_pipe::ClientOptions::new()
tokio::net::windows::named_pipe::ClientOptions::new()
.open(path)
.map_err(|e| std::io::Error::from(e));
client.await
.map_err(|e| std::io::Error::from(e))?
}
}
}))
Expand Down

0 comments on commit fa24b0a

Please sign in to comment.