From 93db9b6708488e9de9cc7a06b344d55a5b11cdfb Mon Sep 17 00:00:00 2001 From: Luke Tomlinson Date: Wed, 12 May 2021 13:35:50 -0400 Subject: [PATCH] Update issues-processor.ts --- src/classes/issues-processor.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/classes/issues-processor.ts b/src/classes/issues-processor.ts index 70a704a1..d36cae16 100644 --- a/src/classes/issues-processor.ts +++ b/src/classes/issues-processor.ts @@ -456,16 +456,17 @@ export class IssuesProcessor { // find any comments since the date const comments = await this.listIssueComments(issue.number, sinceDate); - const filteredComments = comments.filter( - comment => comment.user.type === 'User' && comment.user.login !== actor - ); + issueLogger.info('Not filtering for debug purposes') + // const filteredComments = comments.filter( + // comment => comment.user.type === 'User' && comment.user.login !== actor + // ); issueLogger.info( `Comments not made by actor or another bot: ${filteredComments.length}` ); // if there are any user comments returned - return filteredComments.length > 0; + return comments.length > 0; } // Mark an issue as stale with a comment and a label