File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ async function logChangesets() {
70
70
71
71
req . on ( 'error' , error => reject ( error ) ) ;
72
72
73
- req . write ( data ) ;
73
+ req . write ( data , err => reject ( err ) ) ;
74
74
req . end ( ) ;
75
75
} ) ;
76
76
}
Original file line number Diff line number Diff line change @@ -75,7 +75,8 @@ async function notifyTestResults() {
75
75
req . write (
76
76
JSON . stringify ( {
77
77
text : message
78
- } )
78
+ } ) ,
79
+ err => reject ( err )
79
80
) ;
80
81
req . end ( ) ;
81
82
} ) ;
@@ -101,10 +102,13 @@ async function notifyTestResults() {
101
102
102
103
req . on ( 'error' , error => reject ( error ) ) ;
103
104
104
- req . write ( {
105
- testStatus,
106
- testUrl : workflowUrl
107
- } ) ;
105
+ req . write (
106
+ JSON . stringify ( {
107
+ testStatus,
108
+ testUrl : workflowUrl
109
+ } ) ,
110
+ err => reject ( err )
111
+ ) ;
108
112
req . end ( ) ;
109
113
} ) ;
110
114
You can’t perform that action at this time.
0 commit comments