Skip to content

Commit a25c8f5

Browse files
committed
Tiny, non-functional tweak
1 parent c5314af commit a25c8f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/statistics.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ const Repository = struct {
6565
response,
6666
.{ .ignore_unknown_fields = true },
6767
));
68+
self.lines_changed = 0;
6869
for (authors) |o| {
6970
if (!std.mem.eql(u8, o.author.login, user)) {
7071
continue;
7172
}
72-
self.lines_changed = 0;
7373
for (o.weeks) |week| {
7474
self.lines_changed += week.a;
7575
self.lines_changed += week.d;

0 commit comments

Comments
 (0)