File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ const minorNodeVersion = parseInt(nodeVersion[2]);
9
9
const patchNodeVersion = parseInt ( nodeVersion [ 3 ] ) ;
10
10
11
11
if ( ! process . env [ 'VSCODE_SKIP_NODE_VERSION_CHECK' ] ) {
12
- if ( majorNodeVersion < 20 || ( majorNodeVersion === 20 && minorNodeVersion < 18 ) || ( majorNodeVersion === 20 && minorNodeVersion === 18 && patchNodeVersion < 1 ) ) {
13
- console . error ( '\x1b[1;31m*** Please use Node.js v20.18 .1 or later for development.\x1b[0;0m' ) ;
12
+ if ( majorNodeVersion < 22 || ( majorNodeVersion === 22 && minorNodeVersion < 15 ) || ( majorNodeVersion === 22 && minorNodeVersion === 15 && patchNodeVersion < 1 ) ) {
13
+ console . error ( '\x1b[1;31m*** Please use Node.js v22.15 .1 or later for development.\x1b[0;0m' ) ;
14
14
throw new Error ( ) ;
15
15
}
16
16
}
You can’t perform that action at this time.
0 commit comments