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
{{ message }}
This repository was archived by the owner on Jun 15, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 15, 2026. It is now read-only.
Keep original line ending in merge postactions #306
Line ending change during merging post-action with the original file.
Due to this issue in WebTS while working for React Native we realised that in some scenarios we are changing the line ending of the file during the merge.
We should try doing the same thing we do with original Encoding:
get original file ending
check the new file has the same ending
keep that line ending on the new generated file after a post-action
review and remove replaces of "\n", "\r\n" by String.Empty as it may be solved with this change to keep original line ending. See MergePostAction_Execute_Success.
add testing to MergePostAction and AddJsonDictionaryItemPostAction. So we can be confident about lineEnding changes not breaking anything.
Activity
[-]Keep original line ending[/-][+]Keep original line ending in merge postactions[/+]