change order of unload
This commit is contained in:
parent
31b6995b6d
commit
6f0e8d292e
|
@ -17,8 +17,8 @@ nac () {
|
|||
echo "$ERROR: no \"$1\" environment found in ${HOME}/.local/nodeenv"
|
||||
return 1
|
||||
fi
|
||||
__nvm_unload
|
||||
__denac
|
||||
__nvm_unload
|
||||
. "${HOME}/.local/nodeenv/$1/bin/activate"
|
||||
if [[ $? != 0 ]]; then
|
||||
__denac
|
||||
|
|
Loading…
Reference in New Issue