script fix

This commit is contained in:
Ari Lazier 2016-02-08 11:48:38 -08:00
parent e8d472a2e8
commit 53946d3952
1 changed files with 1 additions and 3 deletions

View File

@ -101,9 +101,7 @@ case "$TARGET" in
fi fi
[ -s "${HOME}/.nvm/nvm.sh" ] && . "${HOME}/.nvm/nvm.sh" [ -s "${HOME}/.nvm/nvm.sh" ] && . "${HOME}/.nvm/nvm.sh"
if [[ $TARGET == *-android ]]; then nvm use 5.4.0 || true
type npm >/dev/null 2>&1 && nvm use 5.4.0
fi
pushd react-native/android pushd react-native/android
./gradlew installarchives ./gradlew installarchives