You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let one = 'boop boop bleh\nasdf';
let other = 'bp boob blah\nfdsa';
let patch = jsdiff.createPatch('filename', one, other, 'oldheader', 'newheader');
let parsedPatch = jsdiff.parsePatch(patch);
let structuredPatch = jsdiff.structuredPatch('oldname', 'newname', one, other, 'oldheader', 'newheader');
// works
let patchedOther = jsdiff.applyPatch(one, patch);
// works
let parsedPatchedOther = jsdiff.applyPatch(one, parsedPatch);
// Missing linedelimiters
let structuredPatchedOther = jsdiff.applyPatch(one, structuredPatch);
Throws an error on apply.js:108:43
The text was updated successfully, but these errors were encountered:
Throws an error on apply.js:108:43
The text was updated successfully, but these errors were encountered: