From 6f045b57915d0eac8e590c503b362d2df5e16b85 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 14 Dec 2017 10:20:05 +0100 Subject: Fix tests --- scripts/upgrade-peertube.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/upgrade-peertube.sh b/scripts/upgrade-peertube.sh index 562a2a618..bfef38264 100755 --- a/scripts/upgrade-peertube.sh +++ b/scripts/upgrade-peertube.sh @@ -4,14 +4,14 @@ verlte() { [ "$1" = "`echo -e "$1\n$2" | sort -V | head -n1`" ] } -nodeMinVersion="6.0.0" +nodeMinVersion="8.0.0" npmMinVersion="3.0.0" actualNodeVersion=$(node --version | tr -d "v") actualNpmVersion=$(npm --version) if verlte $actualNodeVersion $nodeMinVersion; then - echo 'You need node >= 6' + echo 'You need node >= 8' exit 0 fi -- cgit v1.2.3