mirror of
https://github.com/sorin-ionescu/prezto.git
synced 2025-01-23 11:22:17 +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
|
||||
|
||||
# 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
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user