[Fix] nvm_is_version_or_alias: reject uppercase LTS names in every locale
bash 3.2, macOS's `/bin/sh`, matches a bracket range like `[a-z]` by collation order in a UTF-8 locale, which interleaves upper- and lowercase letters, so `lts/Iron` from a symlinked `.nvmrc` was accepted there. Match with `[:lower:]` instead.
This commit is contained in:
1 file changed
+1
-1