Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

fix(ci): Move `env` import inside unix-only block (#50)

Maximilian Roos39f110e906c9
diff --git a/src/bin/dev-detach.rs b/src/bin/dev-detach.rs
index 9888901c9..2804e9d6f 100644
--- a/src/bin/dev-detach.rs
+++ b/src/bin/dev-detach.rs
@@ -6,13 +6,13 @@
//!
//! Usage: dev-detach \<command\> [args...]
-use std::{env, process};
+use std::process;
fn main() {
#[cfg(unix)]
{
use nix::unistd::{execvp, setsid};
- use std::ffi::CString;
+ use std::{env, ffi::CString};
if let Err(e) = setsid() {
eprintln!("dev-detach: setsid failed: {e}");