From 3f8184034f12e2c03013273505259999acd03423 Mon Sep 17 00:00:00 2001 From: dedrisian-oai Date: Thu, 28 Aug 2025 20:06:10 -0700 Subject: [PATCH] Fix CI release build (#2864) --- codex-rs/tui/src/slash_command.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/codex-rs/tui/src/slash_command.rs b/codex-rs/tui/src/slash_command.rs index c266c474..3268a92a 100644 --- a/codex-rs/tui/src/slash_command.rs +++ b/codex-rs/tui/src/slash_command.rs @@ -66,8 +66,10 @@ impl SlashCommand { | SlashCommand::Mention | SlashCommand::Status | SlashCommand::Mcp - | SlashCommand::Quit - | SlashCommand::TestApproval => true, + | SlashCommand::Quit => true, + + #[cfg(debug_assertions)] + SlashCommand::TestApproval => true, } } }