Update index based on master

This commit is contained in:
Ross Brodbeck 2020-06-08 13:03:31 -04:00
parent 65bccdf399
commit 06fc759d9f
1 changed files with 0 additions and 5 deletions

5
dist/index.js vendored
View File

@ -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;
}