Skip to content

Commit

Permalink
fix: use tv.short in show_tools (#3213)
Browse files Browse the repository at this point in the history
Fixes #3029
  • Loading branch information
jdx authored Nov 26, 2024
1 parent c82d4d7 commit e22613d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/hook_env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl HookEnv {
.list_current_installed_versions()
.into_iter()
.rev()
.map(|(_, v)| v.to_string())
.map(|(_, v)| v.short().to_string())
.collect_vec();
if !installed_versions.is_empty() {
let status = installed_versions.into_iter().rev().join(" ");
Expand Down

0 comments on commit e22613d

Please sign in to comment.