From 06fc759d9f25ecfc40a022f265af819005ca621e Mon Sep 17 00:00:00 2001 From: Ross Brodbeck Date: Mon, 8 Jun 2020 13:03:31 -0400 Subject: [PATCH] Update index based on master --- dist/index.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dist/index.js b/dist/index.js index 6fde0c16..61ab5903 100644 --- a/dist/index.js +++ b/dist/index.js @@ -8800,11 +8800,6 @@ class IssueProcessor { // so that close calculations work correctly const newUpdatedAtDate = new Date(); issue.updated_at = newUpdatedAtDate.toString(); - // of days to wait before actually closing the issue. - const daysBeforeStaleInMillis = 1000 * 60 * 60 * 24 * this.options.daysBeforeStale; - const newUpdatedAtDate = new Date(); - newUpdatedAtDate.setTime(newUpdatedAtDate.getTime() - daysBeforeStaleInMillis); - issue.updated_at = newUpdatedAtDate.toString(); if (this.options.debugOnly) { return; }