From 6b10bab2d104dbf8b599f9cab742cc4a1b7cde3e Mon Sep 17 00:00:00 2001 From: Nev <54870357+MSNev@users.noreply.github.com> Date: Tue, 6 Feb 2024 12:23:45 -0800 Subject: [PATCH] Update github status tool (#2257) --- tools/status-tools/github-status.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/status-tools/github-status.js b/tools/status-tools/github-status.js index d69ef8a5..777691a0 100644 --- a/tools/status-tools/github-status.js +++ b/tools/status-tools/github-status.js @@ -368,6 +368,9 @@ function processIssues(issues) { if (lastMonth < openMonth) { lastMonth = openMonth; } + if (openYear > lastYear) { + lastYear = openYear; + } if (closedAt) { let closeYear = closedAt.getFullYear(); @@ -417,6 +420,8 @@ function processIssues(issues) { let filename = `issues-${_startMonth + 1}-${lastMonth + 1}`; + //console.log(`Reporting from: ${firstYear} to ${lastYear} - ${_startMonth + 1} to ${lastMonth + 1}`); + logMessage(`Reporting from: ${_startMonth + 1} to ${lastMonth + 1}`); logHeader("Issues", firstYear, lastYear, lastMonth, openIssues); dumpCount("New", openIssues, firstYear, lastYear, lastMonth, "opened");