From afa264e812d0dc0998007588a7893decedbdec40 Mon Sep 17 00:00:00 2001 From: Pascal Berger Date: Wed, 27 Jul 2022 23:48:32 +0200 Subject: [PATCH] Replace AnsiConsole.Render with Write() (#67) --- .../ConsoleIssueReportGenerator.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Cake.Issues.Reporting.Console/ConsoleIssueReportGenerator.cs b/src/Cake.Issues.Reporting.Console/ConsoleIssueReportGenerator.cs index e2e89ea..8d9114f 100644 --- a/src/Cake.Issues.Reporting.Console/ConsoleIssueReportGenerator.cs +++ b/src/Cake.Issues.Reporting.Console/ConsoleIssueReportGenerator.cs @@ -98,7 +98,7 @@ private void PrintSummary(IEnumerable issues) AnsiConsole.WriteLine(); AnsiConsole.WriteLine(); var rule = new Rule("Summary").Centered(); - AnsiConsole.Render(rule); + AnsiConsole.Write(rule); AnsiConsole.WriteLine(); var providerChart = new BarChart(); @@ -148,18 +148,18 @@ private void PrintSummary(IEnumerable 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); } } }