mirror of
https://github.com/coder/code-server.git
synced 2025-07-28 12:33:43 +08:00
feat: apply patch after setting up subtree
This commit is contained in:
@ -8,8 +8,9 @@ let err = false;
|
||||
const majorNodeVersion = parseInt(/^(\d+)\./.exec(process.versions.node)[1]);
|
||||
|
||||
if (majorNodeVersion < 10 || majorNodeVersion >= 13) {
|
||||
console.error('\033[1;31m*** Please use node >=10 and <=12.\033[0;0m');
|
||||
err = true;
|
||||
// We are ok building above Node 12.
|
||||
// console.error('\033[1;31m*** Please use node >=10 and <=12.\033[0;0m');
|
||||
// err = true;
|
||||
}
|
||||
|
||||
const cp = require('child_process');
|
||||
|
Reference in New Issue
Block a user