From e8d472a2e82476422a777b7ef3292e053900511a Mon Sep 17 00:00:00 2001 From: Ari Lazier Date: Mon, 8 Feb 2016 11:30:40 -0800 Subject: [PATCH] script bug fix --- scripts/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/test.sh b/scripts/test.sh index 6f3b5028..4af306e2 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -97,11 +97,11 @@ case "$TARGET" in ;; "react-tests-android") if [[ $CONFIGURATION == 'Debug' ]]; then - exit 0; + exit 0 fi [ -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 fi