minor fix (#487)

This commit is contained in:
Ori Arditi 2021-06-07 16:27:59 +03:00 committed by GitHub
parent 8e70fa8dee
commit 965862c5a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -1849,7 +1849,7 @@ function _run() {
const args = _getAndValidateArgs();
const issueProcessor = new issues_processor_1.IssuesProcessor(args);
yield issueProcessor.processIssues();
yield processOutput(issueProcessor.closedIssues, issueProcessor.staleIssues);
yield processOutput(issueProcessor.staleIssues, issueProcessor.closedIssues);
}
catch (error) {
core.error(error);

View File

@ -12,8 +12,8 @@ async function _run(): Promise<void> {
await issueProcessor.processIssues();
await processOutput(
issueProcessor.closedIssues,
issueProcessor.staleIssues
issueProcessor.staleIssues,
issueProcessor.closedIssues
);
} catch (error) {
core.error(error);