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) => {
267267  app . on ( 
268268    "issue_comment.created" , 
269269    async  ( context )  =>  { 
270-       const  commandRegex  =  / ^ [ \\ \| \/ \# ] d e p l o y ( [ ^ $ ] + ) $ / ; 
270+       const  commandRegex  =  / ^ [ \\ \| \/ \# ] d e p l o y ( [ ^ $ ] * ) $ / ; 
271271      const  { 
272272        comment : {  body : comment  } , 
273273        repository : {  owner : {  login : owner  } ,  name : repo  } , 
@@ -277,7 +277,7 @@ module.exports = (app) => {
277277        ! comment  || 
278278        ! ( matched  =  comment . toLowerCase ( ) . match ( commandRegex ) ) 
279279      )  { 
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 }  ` ) ; 
281281        return ; 
282282      } 
283283      app . log . info ( 'issue_comment.created' ) ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments