mirror of
https://github.com/actions/stale.git
synced 2025-12-10 03:57:04 +00:00
Update index based on master
This commit is contained in:
5
dist/index.js
vendored
5
dist/index.js
vendored
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user