Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Fix CI release build (#2864)

dedrisian-oai3f8184034f12
diff --git a/codex-rs/tui/src/slash_command.rs b/codex-rs/tui/src/slash_command.rs
index c266c4746a..3268a92a2d 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,
}
}
}