mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-01 11:39:26 +00:00
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:
committed by
Sorin Ionescu
parent
b41f485528
commit
e144abb285
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user