Skip to content
Myr

[Fix] installing with an LTS name should lowercase the name before ensuring a default

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fixes #1781.

authored by Jordan Harband · committed by Jordan Harband · parent 663bdde · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:nvm.sh+1 added
2633 unmodified lines
2634 nvm reinstall-packages "$REINSTALL_PACKAGES_FROM"2635 fi2636 fi2637 if [ -n "${LTS-}" ]; then2638 LTS="$(echo "${LTS}" | tr '[:upper:]' '[:lower:]')"2639 nvm_ensure_default_set "lts/${LTS}"2640 else2641 nvm_ensure_default_set "$provided_version"2642 fi
917 unmodified lines