-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
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
Cannot read property 'oldlines' of undefined #49
Comments
I think the best thing would be to try to setup a jsfiddle or similar demonstrating the issue, that or open a PR with a failing test case. Issues with repo cases are always fixed faster :) |
I have the same problem. |
If an example showing how to reproduce this isn't posted then it will never be fixed. |
It chokes on pretty much everything unified. I believe it's because it expects index header or particular number of lines. My diff file started with this and it couldn't parse it
When removed first two lines:
it worked. When added two lines:
it worked. |
Released in 1.3.2 |
I'm getting this error when using jsdiff via grunt-patch. I've posted the issue with details on the grunt-patch repo (nettantra/grunt-patch#3), but the error appears to be coming from jsdiff, so I thought I'd post it here as well. Any ideas what may be causing this issue?
The text was updated successfully, but these errors were encountered: