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:
parent
859de79d97
commit
9221efc104
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user