Skip to content

Commit c0e8c43

Browse files
author
Kapil Borle
committed
Fix correction for new line after close brace
1 parent f028f7d commit c0e8c43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rules/PlaceCloseBrace.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ private List<CorrectionExtent> GetCorrectionsForNewLineShouldFollowBrace(Token[]
268268
var closeBraceToken = tokens[closeBracePos];
269269
corrections.Add(new CorrectionExtent(
270270
closeBraceToken.Extent,
271-
closeBraceToken.Text + TokenKind.NewLine.Text(),
271+
closeBraceToken.Text + Environment.NewLine,
272272
fileName));
273273
return corrections;
274274
}

0 commit comments

Comments
 (0)