Skip to content

Commit 514b866

Browse files
committed
Revert "Preserve original line ending behavior"
This reverts commit 364015d.
1 parent 07e05f0 commit 514b866

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sources/SilkTouch/SilkTouch/Mods/Common/MSBuildModContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ private static async Task<string> ToNormalisedStringAsync(
308308
CancellationToken ct = default
309309
)
310310
{
311-
var normalizedRoot = root.NormalizeWhitespace(eol: "\n");
311+
var normalizedRoot = root.NormalizeWhitespace();
312312
var result = await CodeFormatter.FormatAsync(normalizedRoot.SyntaxTree, _opts, ct);
313313
return !result.CompilationErrors.Any() ? result.Code : normalizedRoot.ToFullString();
314314
}

0 commit comments

Comments
 (0)