mirror of
https://github.com/openai/codex.git
synced 2026-04-24 06:35:50 +00:00
just fmt
This commit is contained in:
@@ -391,12 +391,11 @@ impl BottomPane {
|
||||
let msg = format!("Approve \"{preview}\"?");
|
||||
notifications::send_os_notification(&msg);
|
||||
}
|
||||
ApprovalRequest::ApplyPatch { reason, grant_root, .. } => {
|
||||
ApprovalRequest::ApplyPatch {
|
||||
reason, grant_root, ..
|
||||
} => {
|
||||
let msg = if let Some(root) = grant_root {
|
||||
format!(
|
||||
"Approve patch changes? Grant write to {}",
|
||||
root.display()
|
||||
)
|
||||
format!("Approve patch changes? Grant write to {}", root.display())
|
||||
} else if let Some(r) = reason {
|
||||
format!("Approve patch changes? {r}")
|
||||
} else {
|
||||
|
||||
@@ -3,7 +3,6 @@ use std::collections::VecDeque;
|
||||
use std::path::PathBuf;
|
||||
use std::sync::Arc;
|
||||
|
||||
use crate::notifications;
|
||||
use codex_core::config::Config;
|
||||
use codex_core::protocol::AgentMessageDeltaEvent;
|
||||
use codex_core::protocol::AgentMessageEvent;
|
||||
|
||||
Reference in New Issue
Block a user