Skip to content

Commit

Permalink
fix: update time miscalculation
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertk committed Apr 30, 2020
1 parent 735cca8 commit 33e723b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entrypoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ async function processIssues(client, args) {
const rrTime = new Date(
lastUpdateTme + MS_PER_DAY * args.daysBeforeStale
);
if (lastUpdateTme > rrLabelTime) {
if (lastCommentTime > rrLabelTime) {
log.debug(`issue was commented on after the label was applied`);
if (args.dryrun) {
log.info(
Expand Down

0 comments on commit 33e723b

Please sign in to comment.