Fix node-module

The change recently introduced for #777 was actually breaking the module
completely, as it was only loaded if neither `node` nor `nvm`
were available.
This commit is contained in:
Tobias Witt 2015-02-23 17:23:28 +01:00
parent b41f485528
commit e5cf83dd6e
No known key found for this signature in database
GPG key ID: F4AB9D0041E48E7E

View file

@ -7,7 +7,7 @@
#
# Return if requirements are not found.
if (( ! $+commands[nvm] || ! $+commands[node] )); then
if (( ! $+commands[nvm] && ! $+commands[node] )); then
return 1
fi