We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 615e023 commit 84a4d6dCopy full SHA for 84a4d6d
lib/utils.sh
@@ -152,6 +152,9 @@ resolve_version() {
152
153
if [ "$query" = lts ] || [ "$query" = "lts/*" ]; then
154
query="${nodejs_codenames[${#nodejs_codenames[@]} - 1]#*:}"
155
+ local all_versions
156
+ all_versions=$("$ASDF_NODEJS_PLUGIN_DIR/bin/list-all" 2>/dev/null | tr ' ' '\n')
157
+ query=$(echo "$all_versions" | grep "^$query\." | tail -n1)
158
fi
159
160
if [ "${ASDF_NODEJS_LEGACY_FILE_DYNAMIC_STRATEGY-}" ]; then
0 commit comments