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
We stumbled across a bit of a weird edge case that we thought you might like to know about. After doing some digging, it appears the required steps to reproduce are:
the file you are patching has no newline at the end of it
you are adding another line to the end of that file (still with no newline)
We had a brief look at trying to fix this (originally assuming patch-package was using git-apply under the hood and hoping we could just pass on the --inaccurate-eofflag but alas you weren't. It does look like you have explicit code for handling this so likely just a small edge case in that logic.