We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e0df1b commit 3a51061Copy full SHA for 3a51061
lib/myers-compare.js
@@ -119,7 +119,7 @@
119
if(j < i){
120
start = src.slice(0, j + 1).filter(notEmpty).length; // start pos of diffs (on src)
121
len = src.slice(j + 1, i + 1).filter(notEmpty).length; // length should be replaced (on src)
122
- to = target.slice(j + 1, i + 1).filter(notEmpty) // new content
+ to = target.slice(j + 1, i + 1).filter(notEmpty); // new content
123
124
diff.unshift(
125
to.length ?
0 commit comments