mirror of
https://github.com/openai/codex.git
synced 2026-11-07 20:30:33 +00:00
clippy
This commit is contained in:
@@ -197,8 +197,7 @@ impl SandboxManager {
|
||||
) -> TransformResult {
|
||||
let exe =
|
||||
codex_linux_sandbox_exe.ok_or(SandboxTransformError::MissingLinuxSandboxExecutable)?;
|
||||
let mut args =
|
||||
create_linux_sandbox_command_args(command.clone(), policy, sandbox_policy_cwd);
|
||||
let mut args = create_linux_sandbox_command_args(command, policy, sandbox_policy_cwd);
|
||||
let mut full_command = Vec::with_capacity(1 + args.len());
|
||||
full_command.push(exe.to_string_lossy().to_string());
|
||||
full_command.append(&mut args);
|
||||
|
||||
Reference in New Issue
Block a user