@@ -97,7 +97,7 @@ class NodeJsBuilder {
9797 . on ( 'finish' , resolve ) ;
9898 } )
9999 )
100- . then ( ( ) => this . version . split ( '.' ) [ 0 ] >= 15 ? this . applyPatches ( ) : Promise . resolve ( ) )
100+ . then ( ( ) => this . version . split ( '.' ) [ 0 ] >= 15 ? this . applyPatches ( ) : Promise . resolve ( ) ) ;
101101 }
102102
103103 downloadCachedBuild ( platform , arch , placeHolderSizeMB ) {
@@ -218,7 +218,7 @@ class NodeJsBuilder {
218218 join ( this . patchDir , 'vcbuild.bat.patch' ) ) ;
219219
220220 isLinux && await patchFile (
221- this . nodePath ( 'deps' , 'cares' , 'config' , 'linux' , 'ares_config.h' ) ,
221+ this . nodePath ( 'deps' , 'cares' , 'config' , 'linux' , 'ares_config.h' ) ,
222222 join ( this . patchDir , 'no_rand_on_glibc.patch' ) ) ;
223223 }
224224
@@ -265,9 +265,9 @@ class NodeJsBuilder {
265265 buildFromSource ( uploadBuild , cache , container , arch , ptrCompression ) {
266266 const makeArgs = isWindows ? [ 'x64' , 'no-cctest' ] : [ `-j${ os . cpus ( ) . length } ` ] ;
267267 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' ) ;
271271 }
272272 return this . printDiskUsage ( )
273273 . then ( ( ) => this . downloadExpandNodeSource ( ) )
@@ -306,7 +306,7 @@ class NodeJsBuilder {
306306 if ( this . placeHolderSizeMB % 2 !== 0 ) {
307307 this . placeHolderSizeMB += 1 ;
308308 }
309- if ( size ) this . placeHolderSizeMB = parseInt ( size . toUpperCase ( ) . replaceAll ( 'MB' , '' ) )
309+ if ( size ) this . placeHolderSizeMB = parseInt ( size . toUpperCase ( ) . replaceAll ( 'MB' , '' ) ) ;
310310
311311 return this . downloadCachedBuild ( platform , arch )
312312 . then ( cachedFile => {
0 commit comments