Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Fix tui compilation (#17691)

David Z Hao7c43f8bb5e26
diff --git a/codex-rs/tui/src/updates.rs b/codex-rs/tui/src/updates.rs
index 8de8d39c52..0acb30b342 100644
--- a/codex-rs/tui/src/updates.rs
+++ b/codex-rs/tui/src/updates.rs
@@ -70,7 +70,7 @@ struct HomebrewCaskInfo {
}
fn version_filepath(config: &Config) -> PathBuf {
- config.codex_home.join(VERSION_FILENAME)
+ config.codex_home.join(VERSION_FILENAME).into_path_buf()
}
fn read_version_info(version_file: &Path) -> anyhow::Result<VersionInfo> {