Skip to content

Commit

Permalink
fix: add @Version back into show_tools
Browse files Browse the repository at this point in the history
Fixes #3213
  • Loading branch information
jdx committed Nov 27, 2024
1 parent e579b79 commit fd7d8d1
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.short().to_string())
.map(|(_, tv)| format!("{}@{}", tv.short(), tv.version))
.collect_vec();
if !installed_versions.is_empty() {
let status = installed_versions.into_iter().rev().join(" ");
Expand Down

0 comments on commit fd7d8d1

Please sign in to comment.