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
Running asdf plugin list all in Nushell does not list all plugins because the regex is broken and won't work for links that start with https or don't end with .git:
A fix for the regex could be: (?P<name>.+)\s+?(?P<installed>[*]?)(?P<repository>(?:git|http|https).+). The .git does not seem to be required by git clone (tested on git version 2.40.0).
Steps to Reproduce
Just run asdf plugin list all in Nushell.
Expected Behaviour
It should print the whole list of plugins.
Actual Behaviour
Stops on the first line that does not match the regex.
Describe the Bug
Running
asdf plugin list all
in Nushell does not list all plugins because the regex is broken and won't work for links that start withhttps
or don't end with.git
:asdf/asdf.nu
Line 102 in 0adc6c1
A fix for the regex could be:
(?P<name>.+)\s+?(?P<installed>[*]?)(?P<repository>(?:git|http|https).+)
. The.git
does not seem to be required bygit clone
(tested on git version 2.40.0).Steps to Reproduce
Just run
asdf plugin list all
in Nushell.Expected Behaviour
It should print the whole list of plugins.
Actual Behaviour
Stops on the first line that does not match the regex.
Environment
OS: Darwin acidghost-MBP.local 22.3.0 Darwin Kernel Version 22.3.0: Mon Jan 30 20:38:37 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T6000 arm64 SHELL: zsh 5.8.1 (x86_64-apple-darwin22.0) ASDF VERSION: v0.11.2 ASDF ENVIRONMENT VARIABLES: ASDF_DIR=/Users/acidghost/.dotfiles/asdf-vm ASDF INSTALLED PLUGINS: golang https://github.com/kennyp/asdf-golang.git master f006a12 java https://github.com/halcyon/asdf-java.git master 54b7426 julia https://github.com/rkyleg/asdf-julia.git master 1788f0f nodejs https://github.com/asdf-vm/asdf-nodejs.git master c9e5df4 perl https://github.com/ouest/asdf-perl.git master 4edc8ab python https://github.com/danhper/asdf-python.git master 8505457 ruby https://github.com/asdf-vm/asdf-ruby.git master 7a671a2
asdf plugins affected (if relevant)
No response
The text was updated successfully, but these errors were encountered: