script bug fix
This commit is contained in:
parent
c5a7e4ac30
commit
e8d472a2e8
|
@ -97,11 +97,11 @@ case "$TARGET" in
|
||||||
;;
|
;;
|
||||||
"react-tests-android")
|
"react-tests-android")
|
||||||
if [[ $CONFIGURATION == 'Debug' ]]; then
|
if [[ $CONFIGURATION == 'Debug' ]]; then
|
||||||
exit 0;
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -s "${HOME}/.nvm/nvm.sh" ] && . "${HOME}/.nvm/nvm.sh"
|
[ -s "${HOME}/.nvm/nvm.sh" ] && . "${HOME}/.nvm/nvm.sh"
|
||||||
if [[ $TARGET != *-android ]]; then
|
if [[ $TARGET == *-android ]]; then
|
||||||
type npm >/dev/null 2>&1 && nvm use 5.4.0
|
type npm >/dev/null 2>&1 && nvm use 5.4.0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue