mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
fix: remove sort --version-sort from command-latest as list is already sorted (#700)
This commit is contained in:
parent
40c492bd8e
commit
0f80ac3567
@ -12,7 +12,6 @@ latest_command() {
|
||||
asdf list-all "$plugin_name" "$query" |
|
||||
grep -vE "(^Available versions:|-src|-dev|-latest|-stm|[-\\.]rc|-alpha|-beta|[-\\.]pre|-next|(a|b|c)[0-9]+|snapshot|master)" |
|
||||
sed 's/^\s\+//' |
|
||||
sort --version-sort |
|
||||
tail -1
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user