File tree Expand file tree Collapse file tree 2 files changed +11
-15
lines changed Expand file tree Collapse file tree 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 {
289289stdin . setEncoding ( 'utf-8' ) ;
290290stdin . resume ( ) ;
291291
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
399399if not defined sign goto licensertf
400400
401401call 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
403403
404404:licensertf
405405@ rem Skip license.rtf generation if not requested.
@@ -425,7 +425,7 @@ if "%use_x64_node_exe%"=="true" (
425425 %node_exe% tools\license2rtf.mjs < LICENSE > %config% \license.rtf
426426)
427427
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
429429
430430:stage_package
431431if not defined stage_package goto install-doctools
@@ -525,7 +525,7 @@ if errorlevel 1 goto exit
525525
526526if not defined sign goto upload
527527call 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
529529
530530:upload
531531@ rem Skip upload if not requested
You can’t perform that action at this time.
0 commit comments