Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
Await the async result of unmarking an issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMGreene committed Mar 29, 2020
1 parent 73eac05 commit 1ea8302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = async app => {
context.payload.label.name === stale.config.staleLabel

if (stale.hasStaleLabel(type, issue) && issue.state !== 'closed' && !staleLabelAdded) {
stale.unmarkIssue(type, issue)
await stale.unmarkIssue(type, issue)
}
}
}
Expand Down

0 comments on commit 1ea8302

Please sign in to comment.