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
when some-c#-proj has some changes (C# files, changed and added files), and in another-nodejs-proj I run lockfix -f, it reverts my changes.
I repeated the steps from the lockfix.ts, and figured out that the patch created by git diff --binary HEAD cannot be applied to my working copy, most likely because of UTF BOM in the affected hunks.
however, the tool doesn't report any error about the error for the patch apply, and (which is worse) it doesn't preserve the working copy state.
I would suggest the following improvements to the tool:
don't touch the files other than package-lock.json. It will minimize the potential damage.
make a copy of the files being modified, so they can be restored in case of failure (automatically or manually).
The text was updated successfully, but these errors were encountered:
My repository has multiple projects, some of them are C#, others are nodejs.
The structure is like this:
when some-c#-proj has some changes (C# files, changed and added files), and in another-nodejs-proj I run
lockfix -f
, it reverts my changes.I repeated the steps from the lockfix.ts, and figured out that the patch created by
git diff --binary HEAD
cannot be applied to my working copy, most likely because of UTF BOM in the affected hunks.however, the tool doesn't report any error about the error for the patch apply, and (which is worse) it doesn't preserve the working copy state.
I would suggest the following improvements to the tool:
The text was updated successfully, but these errors were encountered: