We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fe0277 commit 3404c17Copy full SHA for 3404c17
tasks/e2e-simple.sh
@@ -68,7 +68,7 @@ root_path=$PWD
68
npm install
69
70
# If the node version is < 4, the script should just give an error.
71
-if [ `node --version | sed -e 's/^v//' -e 's/\..\+//g'` -lt 4 ]
+if [[ `node --version | sed -e 's/^v//' -e 's/\..*//g'` -lt 4 ]]
72
then
73
cd $temp_app_path
74
err_output=`node "$root_path"/packages/create-react-cy-app/index.js test-node-version 2>&1 > /dev/null || echo ''`
0 commit comments