Use node 10.15.1 on build machine

This commit is contained in:
Alex Dima
2019-02-07 13:05:45 +01:00
parent 23ff9a7fc1
commit 693673bed1
8 changed files with 9 additions and 9 deletions

View File

@@ -7,8 +7,8 @@ let err = false;
const majorNodeVersion = parseInt(/^(\d+)\./.exec(process.versions.node)[1]);
if (majorNodeVersion < 8 || majorNodeVersion >= 9) {
console.error('\033[1;31m*** Please use node >=8 and <9.\033[0;0m');
if (majorNodeVersion < 8 || majorNodeVersion >= 11) {
console.error('\033[1;31m*** Please use node >=8 and <11.\033[0;0m');
err = true;
}