make clippy happy

This commit is contained in:
Josh Thomas 2025-08-17 17:06:59 -05:00
parent 5370d7fddc
commit 8b94944f0e

View file

@ -8,14 +8,14 @@ use anyhow::Result;
fn main() -> Result<()> {
// Kill any existing session
let _ = Command::new("tmux")
.args(&["kill-session", "-t", "djls-debug"])
.args(["kill-session", "-t", "djls-debug"])
.output();
let _ = Command::new("pkill").args(&["-f", "lsp-devtools"]).output();
let _ = Command::new("pkill").args(["-f", "lsp-devtools"]).output();
// Start tmux in control mode
let mut tmux = Command::new("tmux")
.args(&["-C", "-f", "/dev/null"])
.args(["-C", "-f", "/dev/null"])
.stdin(Stdio::piped())
.stdout(Stdio::piped())
.spawn()
@ -86,12 +86,12 @@ fn main() -> Result<()> {
// Attach to session
Command::new("tmux")
.args(&["attach-session", "-t", "djls-debug"])
.args(["attach-session", "-t", "djls-debug"])
.status()
.context("Failed to attach to session")?;
// Cleanup on exit
let _ = Command::new("pkill").args(&["-f", "lsp-devtools"]).output();
let _ = Command::new("pkill").args(["-f", "lsp-devtools"]).output();
Ok(())
}