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
This commit is contained in:
Héctor Ramos 2018-09-07 12:05:26 -07:00 committed by Facebook Github Bot
parent 095eacdd83
commit 888474f765
1 changed files with 1 additions and 8 deletions

View File

@ -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."