mirror of
https://github.com/openai/codex.git
synced 2026-09-15 12:08:01 +00:00
fix windows tests again
This commit is contained in:
@@ -134,7 +134,11 @@ impl PermissionsPreset {
|
||||
|
||||
let approval = self.approval;
|
||||
let sandbox = self.sandbox.clone();
|
||||
let label = self.label.to_string();
|
||||
let label = if self.id == "auto" && windows_degraded_sandbox_enabled(config) {
|
||||
"Default (non-admin sandbox)".to_string()
|
||||
} else {
|
||||
self.label.to_string()
|
||||
};
|
||||
vec![Box::new(move |tx: &AppEventSender| {
|
||||
let sandbox_clone = sandbox.clone();
|
||||
tx.send(AppEvent::CodexOp(Op::OverrideTurnContext {
|
||||
|
||||
Reference in New Issue
Block a user