File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ const patchNodeVersion = parseInt(nodeVersion[3]);
11
11
12
12
if ( ! process . env [ 'VSCODE_SKIP_NODE_VERSION_CHECK' ] ) {
13
13
if ( majorNodeVersion < 18 || ( majorNodeVersion === 18 && minorNodeVersion < 15 ) ) {
14
- console . error ( '\033 [1;31m*** Please use node.js versions >=18.15.x and <19.\033 [0;0m' ) ;
14
+ console . error ( '\x1b [1;31m*** Please use node.js versions >=18.15.x and <19.\x1b [0;0m' ) ;
15
15
err = true ;
16
16
}
17
17
if ( majorNodeVersion >= 19 ) {
18
- console . warn ( '\033 [1;31m*** Warning: Versions of node.js >= 19 have not been tested.\033 [0;0m' )
18
+ console . warn ( '\x1b [1;31m*** Warning: Versions of node.js >= 19 have not been tested.\x1b [0;0m' )
19
19
}
20
20
}
21
21
35
35
) ||
36
36
majorYarnVersion >= 2
37
37
) {
38
- console . error ( '\033 [1;31m*** Please use yarn >=1.10.1 and <2.\033 [0;0m' ) ;
38
+ console . error ( '\x1b [1;31m*** Please use yarn >=1.10.1 and <2.\x1b [0;0m' ) ;
39
39
err = true ;
40
40
}
41
41
42
42
if ( ! / y a r n [ \w - . ] * \. c ? j s $ | y a r n p k g $ / . test ( process . env [ 'npm_execpath' ] ) ) {
43
- console . error ( '\033 [1;31m*** Please use yarn to install dependencies.\033 [0;0m' ) ;
43
+ console . error ( '\x1b [1;31m*** Please use yarn to install dependencies.\x1b [0;0m' ) ;
44
44
err = true ;
45
45
}
46
46
47
47
if ( process . platform === 'win32' ) {
48
48
if ( ! hasSupportedVisualStudioVersion ( ) ) {
49
- console . error ( '\033 [1;31m*** Invalid C/C++ Compiler Toolchain. Please check https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites.\033 [0;0m' ) ;
49
+ console . error ( '\x1b [1;31m*** Invalid C/C++ Compiler Toolchain. Please check https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites.\x1b [0;0m' ) ;
50
50
err = true ;
51
51
}
52
52
if ( ! err ) {
You can’t perform that action at this time.
0 commit comments