You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asdf local nodejs latest works. At the time of writing, .tool-versions will have nodejs 19.3.0 added to it correctly.
asdf local nodejs latest 16 does not work. The filter of 16 is never passed to the latest command.
Steps to Reproduce
asdf local nodejs latest
cat .tool-versionsand seenodejs 19.3.0`
asdf local nodejs latest 16
see error version 16 is not installed for nodejs
Expected Behaviour
asdf local nodejs latest 16 should run resolve the latest version for the filtered name, as happens with asdf latest nodejs 16, and have the result stored in .tool-versions.
Actual Behaviour
Errors as the code path for latest 16 is not resolved.
Describe the Bug
asdf local nodejs latest
works. At the time of writing,.tool-versions
will havenodejs 19.3.0
added to it correctly.asdf local nodejs latest 16
does not work. The filter of16
is never passed to thelatest
command.Steps to Reproduce
asdf local nodejs latest
cat
.tool-versionsand see
nodejs 19.3.0`asdf local nodejs latest 16
version 16 is not installed for nodejs
Expected Behaviour
asdf local nodejs latest 16
should run resolve the latest version for the filtered name, as happens withasdf latest nodejs 16
, and have the result stored in.tool-versions
.Actual Behaviour
Errors as the code path for
latest 16
is not resolved.The codepath
asdf/lib/functions/versions.bash
Line 42 in 7460809
Environment
OS: Linux art-win11 5.15.79.1-microsoft-standard-WSL2 #1 SMP Wed Nov 23 01:01:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux SHELL: fish, version 3.3.1 ASDF VERSION: v0.11.0-7460809 ASDF ENVIRONMENT VARIABLES: ASDF_DIR=/home/jthegedus/.asdf ASDF INSTALLED PLUGINS: bats https://github.com/timgluz/asdf-bats.git main 299551f deno https://github.com/asdf-community/asdf-deno.git master 87442fe firebase https://github.com/jthegedus/asdf-firebase.git main 4a0ac90 gcloud https://github.com/jthegedus/asdf-gcloud main a71ab95 java https://github.com/halcyon/asdf-java.git master 0720a4b nodejs https://github.com/asdf-vm/asdf-nodejs.git master c9e5df4 pnpm https://github.com/jonathanmorley/asdf-pnpm.git master 95752a9 python https://github.com/danhper/asdf-python.git master 8505457 shellcheck https://github.com/luizm/asdf-shellcheck.git master 0f79f0b shfmt https://github.com/luizm/asdf-shfmt.git master a42c5ff v https://github.com/jthegedus/asdf-v main 99136a7
asdf plugins affected (if relevant)
Any
Other
Discovered in #1342 (comment)
The text was updated successfully, but these errors were encountered: