:chore: allow to use node.js 16 for developing vscode
This commit is contained in:
parent
9a4d524f90
commit
2250b7aa3c
1 changed files with 2 additions and 2 deletions
|
@ -7,8 +7,8 @@ let err = false;
|
|||
|
||||
const majorNodeVersion = parseInt(/^(\d+)\./.exec(process.versions.node)[1]);
|
||||
|
||||
if (majorNodeVersion < 10 || majorNodeVersion >= 16) {
|
||||
console.error('\033[1;31m*** Please use node >=10 and <=16.\033[0;0m');
|
||||
if (majorNodeVersion < 10 || majorNodeVersion >= 17) {
|
||||
console.error('\033[1;31m*** Please use node.js versions >=10 and <=17.\033[0;0m');
|
||||
err = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue