This commit is contained in:
Nev 2024-02-06 12:23:45 -08:00 коммит произвёл GitHub
Родитель e4008daca4
Коммит 6b10bab2d1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -368,6 +368,9 @@ function processIssues(issues) {
if (lastMonth < openMonth) { if (lastMonth < openMonth) {
lastMonth = openMonth; lastMonth = openMonth;
} }
if (openYear > lastYear) {
lastYear = openYear;
}
if (closedAt) { if (closedAt) {
let closeYear = closedAt.getFullYear(); let closeYear = closedAt.getFullYear();
@ -417,6 +420,8 @@ function processIssues(issues) {
let filename = `issues-${_startMonth + 1}-${lastMonth + 1}`; 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}`); logMessage(`Reporting from: ${_startMonth + 1} to ${lastMonth + 1}`);
logHeader("Issues", firstYear, lastYear, lastMonth, openIssues); logHeader("Issues", firstYear, lastYear, lastMonth, openIssues);
dumpCount("New", openIssues, firstYear, lastYear, lastMonth, "opened"); dumpCount("New", openIssues, firstYear, lastYear, lastMonth, "opened");