We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example:
> diff.createPatch("file1", "foo\nbar\n", "foodie\nbarbell", undefined, undefined, {maxEditLength: 1}) Uncaught TypeError: Cannot read properties of undefined (reading 'oldFileName') at formatPatch (/home/mark/jsdiff/lib/patch/create.js:241:12) at createTwoFilesPatch (/home/mark/jsdiff/lib/patch/create.js:270:10) at Object.createPatch (/home/mark/jsdiff/lib/patch/create.js:274:10)
We should propagate the failure that structuredPatch has signalled to us (by way of returning undefined) in a more useful way.
structuredPatch
undefined
The text was updated successfully, but these errors were encountered:
(Remember to update the README when fixing this!)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Example:
We should propagate the failure that
structuredPatch
has signalled to us (by way of returningundefined
) in a more useful way.The text was updated successfully, but these errors were encountered: