File tree 2 files changed +11
-15
lines changed
2 files changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -289,15 +289,11 @@ class RtfGenerator extends Stream {
289
289
stdin . setEncoding ( 'utf-8' ) ;
290
290
stdin . resume ( ) ;
291
291
292
- async function main ( ) {
293
- await pipeline (
294
- stdin ,
295
- new LineSplitter ( ) ,
296
- new ParagraphParser ( ) ,
297
- new Unwrapper ( ) ,
298
- new RtfGenerator ( ) ,
299
- stdout ,
300
- ) ;
301
- }
302
-
303
- main ( ) . catch ( console . error ) ;
292
+ pipeline (
293
+ stdin ,
294
+ new LineSplitter ( ) ,
295
+ new ParagraphParser ( ) ,
296
+ new Unwrapper ( ) ,
297
+ new RtfGenerator ( ) ,
298
+ stdout ,
299
+ ) ;
Original file line number Diff line number Diff line change @@ -399,7 +399,7 @@ if errorlevel 1 echo "Could not create junction to 'out\%config%'." & exit /B
399
399
if not defined sign goto licensertf
400
400
401
401
call tools\sign.bat Release\node.exe
402
- if errorlevel 1 echo Failed to sign exe& goto exit
402
+ if errorlevel 1 echo Failed to sign exe, got error code %errorlevel% & goto exit
403
403
404
404
:licensertf
405
405
@ rem Skip license.rtf generation if not requested.
@@ -425,7 +425,7 @@ if "%use_x64_node_exe%"=="true" (
425
425
%node_exe% tools\license2rtf.mjs < LICENSE > %config% \license.rtf
426
426
)
427
427
428
- if errorlevel 1 echo Failed to generate license.rtf& goto exit
428
+ if errorlevel 1 echo Failed to generate license.rtf, got error code %errorlevel% & goto exit
429
429
430
430
:stage_package
431
431
if not defined stage_package goto install-doctools
@@ -525,7 +525,7 @@ if errorlevel 1 goto exit
525
525
526
526
if not defined sign goto upload
527
527
call tools\sign.bat node-v%FULLVERSION% -%target_arch% .msi
528
- if errorlevel 1 echo Failed to sign msi& goto exit
528
+ if errorlevel 1 echo Failed to sign msi, got error code %errorlevel% & goto exit
529
529
530
530
:upload
531
531
@ rem Skip upload if not requested
You can’t perform that action at this time.
0 commit comments