Fix Linux sandbox helper signature

This commit is contained in:
pakrym-oai
2026-03-23 08:50:12 -07:00
parent aca877b2d4
commit 6182298401
2 changed files with 4 additions and 7 deletions

View File

@@ -470,12 +470,9 @@ mod tests {
)
.await?;
let config = load_debug_sandbox_config_with_codex_home(
Vec::new(),
false,
Some(codex_home_path),
)
.await?;
let config =
load_debug_sandbox_config_with_codex_home(Vec::new(), false, Some(codex_home_path))
.await?;
assert!(config_uses_permission_profiles(&config));
assert!(

View File

@@ -19,7 +19,7 @@ use tokio::process::Child;
/// split filesystem/network policies as JSON so the helper can migrate
/// incrementally without breaking older call sites.
#[allow(clippy::too_many_arguments)]
pub async fn spawn_command_under_linux_sandbox<P>(
pub async fn spawn_command_under_linux_sandbox(
command: Vec<String>,
command_cwd: PathBuf,
sandbox_policy: &SandboxPolicy,