From 9221efc104ee83271a7b6a8f4d9bb6cc9c48c7d0 Mon Sep 17 00:00:00 2001 From: Asher Date: Tue, 9 Feb 2021 10:09:45 -0600 Subject: [PATCH] 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. --- lib/vscode/build/npm/preinstall.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/vscode/build/npm/preinstall.js b/lib/vscode/build/npm/preinstall.js index 251d5200..94dbb3b9 100644 --- a/lib/vscode/build/npm/preinstall.js +++ b/lib/vscode/build/npm/preinstall.js @@ -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'); -- GitLab