[Fix] `nvm install`: fix `nvm err` typo to `nvm_err` for `-s`/`-b` conflict
Before adoption: this commit came in with the history the project adopted, so no landing records it.
The error message for using `-s` and `-b` together was calling `nvm err` (invoking nvm with subcommand "err") instead of the `nvm_err` helper function, causing the error message to never be displayed and instead showing the help text with exit code 127. Bug introduced in https://github.com/nvm-sh/nvm/commit/4fdef427e4b1d563570ba5992bdbe7d7e23f025b / #2439
authored by Jordan Harband · committed by Jordan Harband · parent ef16203 · Browse files · 2 files+20 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+20 added−2 removed
- tests:+18 added−0 removed
- other:+2 added−2 removed