Skip to content

Commit

Permalink
formatting files
Browse files Browse the repository at this point in the history
  • Loading branch information
belav committed Nov 1, 2023
1 parent cf32265 commit ea2f314
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Src/CSharpier/SyntaxPrinter/OptionalBraces.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ public static Doc Print(StatementSyntax node, FormattingContext context)
{
return node is BlockSyntax blockSyntax
? Block.Print(blockSyntax, context)
: DocUtilities.RemoveInitialDoubleHardLine(Doc.Indent(Doc.HardLine, Node.Print(node, context)));
: DocUtilities.RemoveInitialDoubleHardLine(
Doc.Indent(Doc.HardLine, Node.Print(node, context))
);
}
}

0 comments on commit ea2f314

Please sign in to comment.