File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -198,9 +198,9 @@ module.exports = (app) => {
198
198
} = context . payload ;
199
199
if (
200
200
! comment ||
201
- comment . indexOf ( command ) ! == - 1
201
+ comment . indexOf ( command ) = == - 1
202
202
) {
203
- app . log . debug ( `Missing comment body or comment doesn't start with /deploy message` ) ;
203
+ app . log . info ( `Missing comment body or comment doesn't start with /deploy message` ) ;
204
204
return ;
205
205
}
206
206
app . log . info ( 'issue_comment.created' ) ;
@@ -212,14 +212,15 @@ module.exports = (app) => {
212
212
await syncConfig ( context , owner ) ;
213
213
214
214
if ( ! pullNumber ) {
215
- app . log . debug ( 'Cannot find pull request. Deploy dismissed.' ) ;
215
+ app . log . info ( 'Cannot find pull request. Deploy dismissed.' ) ;
216
216
return ;
217
217
}
218
218
219
219
const components = context . payload . comment . body
220
220
. toLowerCase ( )
221
221
. substr ( command . length )
222
222
. split ( ' ' )
223
+ . filter ( Boolean )
223
224
. map ( ( component ) => {
224
225
const parts = component . split ( ':' ) ;
225
226
return {
You can’t perform that action at this time.
0 commit comments