Skip to content

Commit

Permalink
feat: correct description for version preceded by star
Browse files Browse the repository at this point in the history
  • Loading branch information
Stratus3D committed Dec 18, 2024
1 parent e8d6372 commit 04fe7e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asdf.nu
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ module asdf {
let versions = ^asdf list $plugin
| lines
| each { |line| $line | str trim }
| each { |version| if ($version | str starts-with "*") {{value: ($version | str substring 1..), description: "current global"}} else {{value: $version, description: ""}} }
| each { |version| if ($version | str starts-with "*") {{value: ($version | str substring 1..), description: "current version"}} else {{value: $version, description: ""}} }

let latest = ^asdf latest $plugin | str trim

Expand Down

0 comments on commit 04fe7e3

Please sign in to comment.