Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Dec 8, 2024
1 parent 780f45e commit 893f0fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ run = [

[tools]
bun = "latest"

[tasks.pre-commit]
run = [
"cargo fmt -- $(git diff --name-only --cached | grep '\\.rs$')",
"git -c advice.addEmptyPathspec=false add $(git diff --name-only --cached | grep '\\.rs$')",
]
1 change: 1 addition & 0 deletions src/ipc/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ impl IpcClient {
let conn = interprocess::local_socket::tokio::Stream::connect(fs_name(name)?).await?;
let (recv, send) = conn.split();
let recv = BufReader::new(recv);

Ok(Self {
id: id.to_string(),
recv: Mutex::new(recv),
Expand Down

0 comments on commit 893f0fa

Please sign in to comment.