Skip to content

Commit

Permalink
fix uncovered byte range
Browse files Browse the repository at this point in the history
  • Loading branch information
cenfun committed Jul 31, 2024
1 parent 32f4096 commit b400514
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/converter/converter.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ const applyBytesToLines = (bytes, locator, lineMap) => {
start, end, count, ignored
} = range;

// no need handle ignored and uncovered byte
if (count === 0 && ignored) {
// no need handle ignored byte
if (ignored) {
return;
}

Expand Down

0 comments on commit b400514

Please sign in to comment.