We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5314af commit a25c8f5Copy full SHA for a25c8f5
1 file changed
src/statistics.zig
@@ -65,11 +65,11 @@ const Repository = struct {
65
response,
66
.{ .ignore_unknown_fields = true },
67
));
68
+ self.lines_changed = 0;
69
for (authors) |o| {
70
if (!std.mem.eql(u8, o.author.login, user)) {
71
continue;
72
}
- self.lines_changed = 0;
73
for (o.weeks) |week| {
74
self.lines_changed += week.a;
75
self.lines_changed += week.d;
0 commit comments