Restore Node check

Since we're following the VS Code allowed version range now to prevent
bugs use the new range instead of commenting it out.
This commit is contained in:
Asher 2021-02-09 10:09:45 -06:00
parent 859de79d97
commit 9221efc104
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -7,16 +7,9 @@ let err = false;
const majorNodeVersion = parseInt(/^(\d+)\./.exec(process.versions.node)[1]);
<<<<<<< HEAD
if (majorNodeVersion < 10 || majorNodeVersion >= 13) {
// We are ok building above Node 12.
// console.error('\033[1;31m*** Please use node >=10 and <=12.\033[0;0m');
// err = true;
=======
if (majorNodeVersion < 10 || majorNodeVersion >= 16) {
console.error('\033[1;31m*** Please use node >=10 and <=16.\033[0;0m');
err = true;
>>>>>>> e4a830e9b7ca039c7c70697786d29f5b6679d775
}
const cp = require('child_process');