mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
build/npm/preinstall: fix error message for node version
This commit is contained in:
parent
2f6685acc4
commit
f8ee1a1700
|
@ -8,7 +8,7 @@ let err = false;
|
|||
const majorNodeVersion = parseInt(/^(\d+)\./.exec(process.versions.node)[1]);
|
||||
|
||||
if (majorNodeVersion < 14 || majorNodeVersion >= 17) {
|
||||
console.error('\033[1;31m*** Please use node.js versions >=14 and <=17.\033[0;0m');
|
||||
console.error('\033[1;31m*** Please use node.js versions >=14 and <17.\033[0;0m');
|
||||
err = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue