From d7719d70c7891e73bf91604d9d96b7bfdb3f6d5d Mon Sep 17 00:00:00 2001 From: Ross Brodbeck Date: Wed, 15 Apr 2020 08:44:55 -0400 Subject: [PATCH] Pack for distribution --- dist/index.js | 2 +- src/IssueProcessor.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 6589f0d0..9373ff74 100644 --- a/dist/index.js +++ b/dist/index.js @@ -8490,7 +8490,7 @@ class IssueProcessor { core.debug(`Skipping ${issueType} because it has an exempt label`); continue; // don't process exempt issues } - if (!IssueProcessor.isLabeled(issue, staleLabel)) { + if (IssueProcessor.isLabeled(issue, staleLabel)) { core.debug(`Found a stale ${issueType}`); if (this.options.daysBeforeClose >= 0 && IssueProcessor.wasLastUpdatedBefore(issue, this.options.daysBeforeClose)) { diff --git a/src/IssueProcessor.ts b/src/IssueProcessor.ts index cf275ce0..d6c6c5da 100644 --- a/src/IssueProcessor.ts +++ b/src/IssueProcessor.ts @@ -84,7 +84,7 @@ export class IssueProcessor { continue; // don't process exempt issues } - if (!IssueProcessor.isLabeled(issue, staleLabel)) { + if (IssueProcessor.isLabeled(issue, staleLabel)) { core.debug(`Found a stale ${issueType}`); if ( this.options.daysBeforeClose >= 0 &&