mirror of
https://github.com/sorin-ionescu/prezto.git
synced 2025-02-02 21:12:16 +08:00
feat: update requirements check to include volta
This commit is contained in:
parent
6f38c9ce36
commit
b0ef5e14cf
@ -38,7 +38,7 @@ fi
|
|||||||
unset local_{nodenv,nvm,volta}_paths nvm_path
|
unset local_{nodenv,nvm,volta}_paths nvm_path
|
||||||
|
|
||||||
# Return if requirements are not found.
|
# Return if requirements are not found.
|
||||||
if (( ! $+commands[node] && ! $#functions[(i)n(odenv|vm)] )); then
|
if (( ! $+commands[node] && ! $#functions[(i)n(odenv|vm)] && ! $+commands[volta] )); then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user