File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,6 @@ function stripData(data){
121121 pushEventCounter ++ ;
122122 }
123123 } else if ( data . type == 'IssueCommentEvent' ) {
124- if ( IssueCommentEventCounter > 5 ) return ;
125124 stripedData . push ( {
126125 'id' : data . id ,
127126 'type' : data . type ,
@@ -133,7 +132,6 @@ function stripData(data){
133132 'message' : data . body ,
134133 'created' : data . created_at
135134 } ) ;
136- IssueCommentEventCounter ++ ;
137135 } else if ( data . type == 'PullRequestEvent' ) {
138136 stripedData . push ( {
139137 'id' : data . id ,
@@ -147,7 +145,6 @@ function stripData(data){
147145 'created' : data . created_at
148146 } ) ;
149147 } else if ( data . type == 'IssuesEvent' ) {
150- if ( IssuesEventCounter > 3 ) return ;
151148 stripedData . push ( {
152149 'id' : data . id ,
153150 'type' : data . type ,
@@ -159,7 +156,6 @@ function stripData(data){
159156 'message' : data . payload . issue . title ,
160157 'created' : data . created_at
161158 } ) ;
162- IssuesEventCounter ++ ;
163159 }
164160 } ) ;
165161 return stripedData ;
You can’t perform that action at this time.
0 commit comments