diff --git a/dist/index.js b/dist/index.js index c0de1d82..86c6e58d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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); diff --git a/src/main.ts b/src/main.ts index 433e98c3..98e66743 100644 --- a/src/main.ts +++ b/src/main.ts @@ -12,8 +12,8 @@ async function _run(): Promise { await issueProcessor.processIssues(); await processOutput( - issueProcessor.closedIssues, - issueProcessor.staleIssues + issueProcessor.staleIssues, + issueProcessor.closedIssues ); } catch (error) { core.error(error);