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"
|
echo "$ERROR: no \"$1\" environment found in ${HOME}/.local/nodeenv"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
__nvm_unload
|
|
||||||
__denac
|
__denac
|
||||||
|
__nvm_unload
|
||||||
. "${HOME}/.local/nodeenv/$1/bin/activate"
|
. "${HOME}/.local/nodeenv/$1/bin/activate"
|
||||||
if [[ $? != 0 ]]; then
|
if [[ $? != 0 ]]; then
|
||||||
__denac
|
__denac
|
||||||
|
|
Loading…
Reference in New Issue