From f4028287e3fa7c1015a5f4a123984b51ddf58214 Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Sat, 13 Dec 2025 21:04:41 -0800 Subject: [PATCH] unrelated --- codex-rs/core/src/tasks/ghost_snapshot.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/codex-rs/core/src/tasks/ghost_snapshot.rs b/codex-rs/core/src/tasks/ghost_snapshot.rs index e9ea0ae95c..7e84c330f6 100644 --- a/codex-rs/core/src/tasks/ghost_snapshot.rs +++ b/codex-rs/core/src/tasks/ghost_snapshot.rs @@ -54,12 +54,11 @@ impl SessionTask for GhostSnapshotTask { tokio::task::spawn(async move { tokio::select! { _ = tokio::time::sleep(SNAPSHOT_WARNING_THRESHOLD) => { - session_for_warning - .session + session_for_warning.session .send_event( &ctx_for_warning, EventMsg::Warning(WarningEvent { - message: "Repository snapshot is taking longer than expected. Large untracked or ignored files can slow snapshots; consider adding large files or directories to .gitignore or disabling `undo` in your config.".to_string(), + message: "Repository snapshot is taking longer than expected. Large untracked or ignored files can slow snapshots; consider adding large files or directories to .gitignore or disabling `undo` in your config.".to_string() }), ) .await;