File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ module.exports = (app) => {
267
267
app . on (
268
268
"issue_comment.created" ,
269
269
async ( context ) => {
270
- const commandRegex = / ^ [ \\ \| \/ \# ] d e p l o y ( [ ^ $ ] + ) $ / ;
270
+ const commandRegex = / ^ [ \\ \| \/ \# ] d e p l o y ( [ ^ $ ] * ) $ / ;
271
271
const {
272
272
comment : { body : comment } ,
273
273
repository : { owner : { login : owner } , name : repo } ,
@@ -277,7 +277,7 @@ module.exports = (app) => {
277
277
! comment ||
278
278
! ( matched = comment . toLowerCase ( ) . match ( commandRegex ) )
279
279
) {
280
- app . log . info ( `Missing comment body or comment doesn't start with /deploy message` ) ;
280
+ app . log . info ( `Missing comment body or comment doesn't start with /deploy message, body: ${ comment } ` ) ;
281
281
return ;
282
282
}
283
283
app . log . info ( 'issue_comment.created' ) ;
You can’t perform that action at this time.
0 commit comments