Skip to content

Commit

Permalink
Fixed should be stale condition
Browse files Browse the repository at this point in the history
When different stale period is used for issues and pull requests, this code uses wrong one.

This was probably missed in actions#224

Fixes actions#299
  • Loading branch information
nijel committed Feb 4, 2021
1 parent 8656146 commit 7368ddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IssueProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ export class IssueProcessor {
// should this issue be marked stale?
const shouldBeStale = !IssueProcessor._updatedSince(
issue.updated_at,
this.options.daysBeforeStale
daysBeforeStale
);

// determine if this issue needs to be marked stale first
Expand Down

0 comments on commit 7368ddf

Please sign in to comment.