Skip to content

Commit 7b0a575

Browse files
authored
Fix AbsoluteLines. (#248)
Currently it is being zero.
1 parent c925c77 commit 7b0a575

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/PullRequestQuantifier.Abstractions/Git/GitFilePatch.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ public string DiffContent
6969
diffContent = value;
7070
fileDiff = DiffParserHelper.Parse(value).First();
7171
DiffLines = fileDiff.Chunks.SelectMany(c => c.Changes);
72+
AbsoluteLinesAdded = fileDiff.Additions;
73+
AbsoluteLinesDeleted = fileDiff.Deletions;
7274
}
7375
}
7476

0 commit comments

Comments
 (0)