From 888474f76521901ccf3a2e230d7b7519b4c781d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ramos?= Date: Fri, 7 Sep 2018 12:05:26 -0700 Subject: [PATCH] Remove Node 10 check (#21001) Summary: This script is not yet used. Regardless, Node 10 has been working fine for a while now. Pull Request resolved: https://github.com/facebook/react-native/pull/21001 Differential Revision: D9721549 Pulled By: hramos fbshipit-source-id: 44b5e2f9ec9b622a364491840f8bd8092f0399ff --- scripts/validate-ios-test-env.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/validate-ios-test-env.sh b/scripts/validate-ios-test-env.sh index d52bb9d75..fbf7fbe65 100755 --- a/scripts/validate-ios-test-env.sh +++ b/scripts/validate-ios-test-env.sh @@ -4,7 +4,7 @@ # testing environment. # # In particular, it checks that the minimum required Xcode version is installed. -# It also checks that the correct Node version is installed. Node 10 is not fully +# It also checks that the correct Node version is installed. Node 10 is not fully # supported at the time and Node 6 is no longer supported. # Function used to compare dot seperated version numbers @@ -22,17 +22,10 @@ NODE_VERSION="$(command node --version | sed 's/[-/a-zA-Z]//g' |sed 's/.\{2\}$// if (( $(echo "${NODE_VERSION} <= 6.0" | bc -l) )); then echo "Node ${NODE_VERSION} detected. This version of Node is not supported." - echo "Note: Node 10 is not fully supported at the time and Node 6 is no longer supported." echo "See https://nodejs.org/en/download/ for instructions." exit 1 fi -if (( $(echo "${NODE_VERSION} == 10.0" | bc -l) )); then - echo "Node ${NODE_VERSION} detected. This version of Node is not fully supported at this time." - echo "See https://github.com/facebook/react-native/issues/19229 for more information." - exit 1 -fi - # Check that Xcode is installed. if [ -z "$(which xcodebuild)" ]; then echo "Could not find Xcode build tools. Please check your Xcode install."