Skip to content

Commit

Permalink
fix: update default latest version query
Browse files Browse the repository at this point in the history
allow versions that begin with "v"
fixes: asdf-vm#1684
  • Loading branch information
cj81499 committed Nov 24, 2023
1 parent fad23bc commit a28ca31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/functions/versions.bash
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ list_all_command() {
}

latest_command() {
DEFAULT_QUERY="[0-9]"
DEFAULT_QUERY="v?[0-9]"

local plugin_name=$1
local query=$2
Expand Down

0 comments on commit a28ca31

Please sign in to comment.