diff --git a/codex-rs/tui/src/updates.rs b/codex-rs/tui/src/updates.rs index 8de8d39c5..0acb30b34 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 {