Skip to content

Commit

Permalink
Update libs/report/committers/src/lib/parse-monthly.ts
Browse files Browse the repository at this point in the history
Co-authored-by: George Kalpakas <[email protected]>
  • Loading branch information
marco-ippolito and gkalpak authored Dec 13, 2024
1 parent c534320 commit 2eb16ee
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions libs/report/committers/src/lib/parse-monthly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ export function parseMonthly(startDate: Date, endDate: Date, entries: Commit[])
end: endDate,
});

for (const idxr in range) {
const idx = parseInt(idxr);
if (idx + 1 >= range.length) {
continue;
}
for (let idx = 0; idx < range.length - 1; idx++) {
const [start, end] = [range[idx], range[idx + 1]];
const month: MonthlyData = {
month: format(start, 'LLLL yyyy'),
Expand Down

0 comments on commit 2eb16ee

Please sign in to comment.