Commit 7a8cd815 authored by Phil Hughes's avatar Phil Hughes

Fixed bug where match lines where not counted

parent 64774bfa
...@@ -88,7 +88,7 @@ export default { ...@@ -88,7 +88,7 @@ export default {
commentLineOptions() { commentLineOptions() {
const combineSides = (acc, { left, right }) => { const combineSides = (acc, { left, right }) => {
// ignore null values match lines // ignore null values match lines
if (left && left.type !== 'match') acc.push(left); if (left) acc.push(left);
// if the line_codes are identically, return to avoid duplicates // if the line_codes are identically, return to avoid duplicates
if (left?.line_code === right?.line_code) return acc; if (left?.line_code === right?.line_code) return acc;
if (right && right.type !== 'match') acc.push(right); if (right && right.type !== 'match') acc.push(right);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment