mirror of
https://github.com/openai/codex.git
synced 2026-11-30 00:10:49 +00:00
Fix
This commit is contained in:
@@ -302,8 +302,8 @@ impl App {
|
||||
AppEvent::ExitRequest => {
|
||||
return Ok(false);
|
||||
}
|
||||
#[cfg(not(debug_assertions))]
|
||||
AppEvent::RunUpdateAndExit(action) => {
|
||||
// Record the requested update action and exit.
|
||||
self.pending_update_action = Some(action);
|
||||
return Ok(false);
|
||||
}
|
||||
|
||||
@@ -90,5 +90,6 @@ pub(crate) enum AppEvent {
|
||||
FullScreenApprovalRequest(ApprovalRequest),
|
||||
|
||||
/// User approved to update Codex; run the update and exit.
|
||||
#[cfg(not(debug_assertions))]
|
||||
RunUpdateAndExit(UpdateAction),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user