Skip to content
Myr

When curl is not present, immediately bail out of `nvm install` with a nonzero exit code. Fixes #385.

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

authored by Jordan Harband · committed by Jordan Harband · parent 31c5406 · 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
223 unmodified lines
224 local nobinary225226 if ! nvm_has "curl"; then227 echo 'NVM Needs curl to proceed.' >&2;228 return 1229 fi230231 if [ $# -lt 2 ]; then232 nvm help
324 unmodified lines