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
Trying to modify some code in the repo and doing a PR was almost impossible to get just my change to show. The file I tried to edit had mixed line endings.
Steps to reproduce
Try and open src/WingetCreateCLI/PromptHelper.cs with VS code and add /remove a line, make a commit and see that hundreds of lines have changed.
Expected behavior
After making a change and saving according to editorconfig settings, only my change is in the diff.
Maybe add a github action to have a double check on this policy such that no bad line endings end up in the source afterwards.
Actual behavior
All lines are reformatted in a decent editor creating messy PRs
Environment
-
The text was updated successfully, but these errors were encountered:
Brief description of your issue
Trying to modify some code in the repo and doing a PR was almost impossible to get just my change to show. The file I tried to edit had mixed line endings.
Steps to reproduce
Try and open
src/WingetCreateCLI/PromptHelper.cs
with VS code and add /remove a line, make a commit and see that hundreds of lines have changed.Expected behavior
After making a change and saving according to editorconfig settings, only my change is in the diff.
Maybe add a github action to have a double check on this policy such that no bad line endings end up in the source afterwards.
Actual behavior
All lines are reformatted in a decent editor creating messy PRs
Environment
The text was updated successfully, but these errors were encountered: