feat: update requirements check to include volta

This commit is contained in:
Adam 2024-12-15 11:15:58 -08:00
parent 6f38c9ce36
commit b0ef5e14cf

View File

@ -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