Skip to content

Commit a8d1c64

Browse files
committed
Fixing thing
1 parent e61f38d commit a8d1c64

File tree

6 files changed

+23965
-1156
lines changed

6 files changed

+23965
-1156
lines changed

Src/CSharpier.Cli/CommandLineFormatter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ CancellationToken cancellationToken
356356
try
357357
{
358358
// TODO xml find correct formatter
359-
codeFormattingResult = await CSharpFormatter.FormatAsync(
359+
codeFormattingResult = await CodeFormatter.FormatAsync(
360360
fileToFormatInfo.FileContents,
361361
Path.GetExtension(fileToFormatInfo.Path),
362362
printerOptions,

Src/CSharpier.Playground/Controllers/FormatController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public FormatController(ILogger<FormatController> logger)
3434
[HttpPost]
3535
public async Task<FormatResult> Post([FromBody] string content, string fileExtension)
3636
{
37-
// TODO use the proper formatter class?
37+
// TODO xml use the proper formatter class?
3838
if (fileExtension == "cs")
3939
{
4040
var result = await CSharpFormatter.FormatAsync(

Src/CSharpier.Tests/FormattingTests/BaseTest.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ public class BaseTest
1111
{
1212
private readonly DirectoryInfo rootDirectory = DirectoryFinder.FindParent("CSharpier.Tests");
1313

14-
protected async Task RunTest(string fileName, string fileExtensionWithoutDot, bool useTabs = false)
14+
protected async Task RunTest(
15+
string fileName,
16+
string fileExtensionWithoutDot,
17+
bool useTabs = false
18+
)
1519
{
1620
var filePath = Path.Combine(
1721
this.rootDirectory.FullName,

0 commit comments

Comments
 (0)