@@ -97,7 +97,7 @@ class NodeJsBuilder {
97
97
. on ( 'finish' , resolve ) ;
98
98
} )
99
99
)
100
- . then ( ( ) => this . version . split ( '.' ) [ 0 ] >= 15 ? this . applyPatches ( ) : Promise . resolve ( ) )
100
+ . then ( ( ) => this . version . split ( '.' ) [ 0 ] >= 15 ? this . applyPatches ( ) : Promise . resolve ( ) ) ;
101
101
}
102
102
103
103
downloadCachedBuild ( platform , arch , placeHolderSizeMB ) {
@@ -218,7 +218,7 @@ class NodeJsBuilder {
218
218
join ( this . patchDir , 'vcbuild.bat.patch' ) ) ;
219
219
220
220
isLinux && await patchFile (
221
- this . nodePath ( 'deps' , 'cares' , 'config' , 'linux' , 'ares_config.h' ) ,
221
+ this . nodePath ( 'deps' , 'cares' , 'config' , 'linux' , 'ares_config.h' ) ,
222
222
join ( this . patchDir , 'no_rand_on_glibc.patch' ) ) ;
223
223
}
224
224
@@ -265,9 +265,9 @@ class NodeJsBuilder {
265
265
buildFromSource ( uploadBuild , cache , container , arch , ptrCompression ) {
266
266
const makeArgs = isWindows ? [ 'x64' , 'no-cctest' ] : [ `-j${ os . cpus ( ) . length } ` ] ;
267
267
const configArgs = [ ] ;
268
- if ( ptrCompression ) {
269
- if ( isWindows ) makeArgs . push ( 'v8_ptr_compress' ) ;
270
- else configArgs . push ( '--experimental-enable-pointer-compression' ) ;
268
+ if ( ptrCompression ) {
269
+ if ( isWindows ) makeArgs . push ( 'v8_ptr_compress' ) ;
270
+ else configArgs . push ( '--experimental-enable-pointer-compression' ) ;
271
271
}
272
272
return this . printDiskUsage ( )
273
273
. then ( ( ) => this . downloadExpandNodeSource ( ) )
@@ -306,7 +306,7 @@ class NodeJsBuilder {
306
306
if ( this . placeHolderSizeMB % 2 !== 0 ) {
307
307
this . placeHolderSizeMB += 1 ;
308
308
}
309
- if ( size ) this . placeHolderSizeMB = parseInt ( size . toUpperCase ( ) . replaceAll ( 'MB' , '' ) )
309
+ if ( size ) this . placeHolderSizeMB = parseInt ( size . toUpperCase ( ) . replaceAll ( 'MB' , '' ) ) ;
310
310
311
311
return this . downloadCachedBuild ( platform , arch )
312
312
. then ( cachedFile => {
0 commit comments