File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,9 @@ async function notifyTestResults() {
111111 req . end ( ) ;
112112 } ) ;
113113
114- return Promise . all ( [ chatPromise , logPromise ] ) ;
114+ return Promise . all ( [ chatPromise , logPromise ] ) . catch ( e => {
115+ console . error ( e ) ;
116+ } ) ;
115117}
116118
117119notifyTestResults ( ) ;
Original file line number Diff line number Diff line change @@ -135,16 +135,7 @@ async function publishPackageInCI(
135135 } " >> ~/.npmrc`
136136 ) ;
137137
138- const spawnPromise = spawn ( 'npm' , args , { cwd : path } ) ;
139- const childProcess = spawnPromise . childProcess ;
140- childProcess . stdout ?. on ( 'data' , function ( data ) {
141- console . log ( `[publishing ${ pkg } ] stdout: ` , data . toString ( ) ) ;
142- } ) ;
143- childProcess . stderr ?. on ( 'data' , function ( data ) {
144- console . log ( `[publishing ${ pkg } ] stderr: ` , data . toString ( ) ) ;
145- } ) ;
146- await spawnPromise ;
147- return spawnPromise ;
138+ return spawn ( 'npm' , args , { cwd : path } ) ;
148139 } catch ( err ) {
149140 throw err ;
150141 }
You can’t perform that action at this time.
0 commit comments