From 04fe7e30ca88d6952260ef4aa9a91eea9c8ca104 Mon Sep 17 00:00:00 2001 From: Trevor Brown Date: Wed, 18 Dec 2024 10:31:05 -0500 Subject: [PATCH] feat: correct description for version preceded by star --- asdf.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asdf.nu b/asdf.nu index 3a83ebaf..75103326 100644 --- a/asdf.nu +++ b/asdf.nu @@ -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