Checking for self defined `nvm_download` function will always be true #478

Closed
koenpunt opened this Issue Jul 18, 2014 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

koenpunt commented Jul 18, 2014

So this has no effect:

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

ljharb commented Jul 18, 2014

ah, good call :-) thanks

ljharb closed this in ca43ca2 Jul 18, 2014

ljharb added the bugs label Jul 18, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment