Format PowerShell execpolicy normalization imports

This commit is contained in:
David Wiesen
2026-03-20 16:42:18 -07:00
parent 11ffb66841
commit ab67b7ca00

View File

@@ -9,6 +9,7 @@ use crate::exec::is_likely_sandbox_denied;
use crate::guardian::GuardianApprovalRequest;
use crate::guardian::review_approval_request;
use crate::guardian::routes_approval_to_guardian;
use crate::powershell::extract_powershell_command;
use crate::sandboxing::ExecRequest;
use crate::sandboxing::SandboxPermissions;
use crate::shell::ShellType;
@@ -19,7 +20,6 @@ use crate::tools::sandboxing::SandboxAttempt;
use crate::tools::sandboxing::SandboxablePreference;
use crate::tools::sandboxing::ToolCtx;
use crate::tools::sandboxing::ToolError;
use crate::powershell::extract_powershell_command;
use codex_execpolicy::Decision;
use codex_execpolicy::Evaluation;
use codex_execpolicy::MatchOptions;
@@ -51,10 +51,10 @@ use codex_shell_escalation::PreparedExec;
use codex_shell_escalation::ShellCommandExecutor;
use codex_shell_escalation::Stopwatch;
use codex_utils_absolute_path::AbsolutePathBuf;
use shlex::split as shlex_split;
use std::collections::HashMap;
use std::path::PathBuf;
use std::sync::Arc;
use shlex::split as shlex_split;
use std::time::Duration;
use tokio::sync::RwLock;
use tokio_util::sync::CancellationToken;