未验证 提交 9221efc1 编写于 作者: A Asher

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.
上级 859de79d
......@@ -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');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册