Commit 4ab4d882 authored by Tim Zallmann's avatar Tim Zallmann

Fixed ESLint error

parent 7e390dcc
......@@ -27,9 +27,7 @@ export default {
let u = 0;
for (u = 0; u < linesLength; u += 1) {
const line = file.parallelDiffLines[u];
// eslint-disable-next-line no-param-reassign
if (line.left) delete line.left.text;
// eslint-disable-next-line no-param-reassign
if (line.right) delete line.right.text;
}
}
......@@ -39,7 +37,6 @@ export default {
let u = 0;
for (u = 0; u < linesLength; u += 1) {
const line = file.highlightedDiffLines[u];
// eslint-disable-next-line no-param-reassign
delete line.text;
}
}
......
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