Issue #120: Fix - Bad coverage calculation
Now checks for `fileDiffs.lines` for coverage status instead of `fileDiffs`.
This commit is contained in:
Родитель
ddd9942b0c
Коммит
2c4717f534
|
@ -197,7 +197,7 @@ const DiffLine = ({ change, fileDiffs, id }) => {
|
|||
// Added line - <blank> | <new line number>
|
||||
if (fileDiffs) {
|
||||
try {
|
||||
const coverage = fileDiffs[c.ln];
|
||||
const coverage = fileDiffs.lines[c.ln];
|
||||
if (coverage === 'Y') {
|
||||
rowClass = 'hit';
|
||||
} else if (coverage === '?') {
|
||||
|
|
Загрузка…
Ссылка в новой задаче