Skip to content

Commit d2f99e5

Browse files
committed
fix: issue from merge conflict
1 parent 66c00b2 commit d2f99e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/stats/StatsManager.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ export default class StatsManager {
163163
citations: {
164164
initial: currentCitations,
165165
current: currentCitations,
166+
},
166167
pages: {
167168
initial: currentPages,
168169
current: currentPages,
@@ -194,7 +195,7 @@ export default class StatsManager {
194195
const citations = Object.values(modFiles)
195196
.map((counts) =>
196197
Math.max(0, counts.citations.current - counts.citations.initial)
197-
)
198+
).reduce((a, b) => a + b, 0);
198199
const pages = Object.values(modFiles)
199200
.map((counts) =>
200201
Math.max(0, counts.pages.current - counts.pages.initial)

0 commit comments

Comments
 (0)