Skip to content

Commit

Permalink
Fix curl/wget detection. Fixes #478
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jul 18, 2014
1 parent fafbeb8 commit ca43ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvm.sh
Expand Up @@ -317,7 +317,7 @@ nvm() {
version_not_provided=0
local provided_version

if ! nvm_has "nvm_download"; then
if ! nvm_has "curl" && ! nvm_has "wget"; then
echo 'nvm needs curl or wget to proceed.' >&2;
return 1
fi
Expand Down

0 comments on commit ca43ca2

Please sign in to comment.