mirror of
https://github.com/openai/codex.git
synced 2026-04-28 02:11:08 +03:00
update
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
use crate::update_action::get_update_action;
|
||||
|
||||
pub(crate) fn update_available_nudge() -> String {
|
||||
match get_update_action() {
|
||||
Some(action) => {
|
||||
let command = action.command_str();
|
||||
format!("Update available. Run `{command}` to update.")
|
||||
}
|
||||
None => "Update available. See https://github.com/openai/codex for installation options."
|
||||
.to_string(),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user