Skip to content
This repository has been archived by the owner on Apr 6, 2024. It is now read-only.

Commit

Permalink
Replace AnsiConsole.Render with Write() (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalberger authored Jul 27, 2022
1 parent 5ac5eef commit afa264e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Cake.Issues.Reporting.Console/ConsoleIssueReportGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ private void PrintSummary(IEnumerable<IIssue> issues)
AnsiConsole.WriteLine();
AnsiConsole.WriteLine();
var rule = new Rule("Summary").Centered();
AnsiConsole.Render(rule);
AnsiConsole.Write(rule);
AnsiConsole.WriteLine();

var providerChart = new BarChart();
Expand Down Expand Up @@ -148,18 +148,18 @@ private void PrintSummary(IEnumerable<IIssue> issues)

if (this.consoleIssueReportFormatSettings.ShowProviderSummary)
{
AnsiConsole.Render(new Markup("[bold]Issues per provider & run[/]").Centered());
AnsiConsole.Write(new Markup("[bold]Issues per provider & run[/]").Centered());
AnsiConsole.WriteLine();
AnsiConsole.WriteLine();
AnsiConsole.Render(providerChart);
AnsiConsole.Write(providerChart);
AnsiConsole.WriteLine();
}

if (this.consoleIssueReportFormatSettings.ShowPrioritySummary)
{
AnsiConsole.Render(new Markup("[bold]Issues per priority[/]").Centered());
AnsiConsole.Write(new Markup("[bold]Issues per priority[/]").Centered());
AnsiConsole.WriteLine();
AnsiConsole.Render(priorityTable);
AnsiConsole.Write(priorityTable);
}
}
}
Expand Down

0 comments on commit afa264e

Please sign in to comment.