Permalink
Browse files

[enhance] configure: bump node to 10

  • Loading branch information...
1 parent a9ac54c commit 906e9283d3137571463e1cd495224a90030a8fb4 @BourgerieQuentin BourgerieQuentin committed Apr 11, 2013
Showing with 2 additions and 8 deletions.
  1. +2 −8 configure
View
@@ -331,15 +331,9 @@ NODE_VERSION=$($NODE_EXEC --version)
NODE_VERSION_MAJOR=${NODE_VERSION%%.*}
NODE_VERSION_MIDDLE=${NODE_VERSION%.*}
NODE_VERSION_MIDDLE=${NODE_VERSION_MIDDLE#*.}
-NODE_MIN_VERSION=6
-NODE_MAX_VERSION=9
+NODE_MIN_VERSION=10
if [ $NODE_VERSION_MIDDLE -ge $NODE_MIN_VERSION ]; then
- if [ $NODE_VERSION_MIDDLE -lt $NODE_MAX_VERSION ]; then
- echo-ok $NODE_VERSION
- else
- echo-err $NODE_VERSION
- echo "Node older than v0.$NODE_MAX_VERSION.0 is required"
- fi
+ echo-ok $NODE_VERSION
else
echo-err $NODE_VERSION
echo "Node v0.$NODE_MIN_VERSION.0 or newer is required"

0 comments on commit 906e928

Please sign in to comment.