Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix parsing .editorconfig EOL - #10740

#10740
Merged
YuliiaKovalova merged 2 commits into
dotnet:vs17.12dotnet/msbuild:vs17.12from
JanProvaznik:dev/janpro/fix-editorconfig-eol-parsing-minimal-servicingJanProvaznik/msbuild:dev/janpro/fix-editorconfig-eol-parsing-minimal-servicingCopy head branch name to clipboard
Oct 3, 2024
Merged

Fix parsing .editorconfig EOL#10740
YuliiaKovalova merged 2 commits into
dotnet:vs17.12dotnet/msbuild:vs17.12from
JanProvaznik:dev/janpro/fix-editorconfig-eol-parsing-minimal-servicingJanProvaznik/msbuild:dev/janpro/fix-editorconfig-eol-parsing-minimal-servicingCopy head branch name to clipboard

Conversation

@JanProvaznik

@JanProvaznik JanProvaznik commented Oct 1, 2024

Copy link
Copy Markdown
Member

Fixes #10684

Summary

In BuildCheck .editorconfig is ignored when it's EOLs don't match the system, because it's lines are parsed according to the local environment (\n vs \r\n). This fix splits lines in both locales.

Customer Impact

Multiplatform usability. Example of a silent failure this fix addresses: a Windows user copying .editorconfig from unix or from some configurations of git.

Regression?

No

Testing

Manual +
Unit test

Risk

Low, fixes edge case of intended behavior in BuildCheck feature.

@JanProvaznik
JanProvaznik marked this pull request as ready for review October 1, 2024 14:35
@JanProvaznik
JanProvaznik requested a review from a team as a code owner October 1, 2024 14:35
@YuliiaKovalova
YuliiaKovalova merged commit ff5cb70 into dotnet:vs17.12 Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.