mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-01-30 09:47:14 +08:00
Don't check for revert not existing
This commit is contained in:
parent
834368f520
commit
a3b5789834
@ -4,9 +4,5 @@ source ../common.sh
|
||||
# Load zsh-nvm
|
||||
load_zsh_nvm
|
||||
|
||||
# Check unwrapped nvm doesn't have revert command
|
||||
echo $(_zsh_nvm_nvm revert)
|
||||
_zsh_nvm_nvm revert && die "Unwrapped nvm already has revert command"
|
||||
|
||||
# Check nvm is wrapped with our revert command
|
||||
nvm revert || die "nvm isn't wrapped with our revert command"
|
||||
|
Loading…
Reference in New Issue
Block a user