diff --git a/src/Cake.Cli/Cake.Cli.csproj b/src/Cake.Cli/Cake.Cli.csproj index 245dd1da6c..cfecb60a57 100644 --- a/src/Cake.Cli/Cake.Cli.csproj +++ b/src/Cake.Cli/Cake.Cli.csproj @@ -19,7 +19,7 @@ - - + + \ No newline at end of file diff --git a/src/Cake.Frosting/CakeHost.cs b/src/Cake.Frosting/CakeHost.cs index 2591b97475..6a4ed7fdea 100644 --- a/src/Cake.Frosting/CakeHost.cs +++ b/src/Cake.Frosting/CakeHost.cs @@ -90,7 +90,7 @@ public int Run(IEnumerable args) config.ValidateExamples(); // Top level examples. - config.AddExample(new[] { string.Empty }); + config.AddExample(Array.Empty()); config.AddExample(new[] { "--verbosity", "quiet" }); config.AddExample(new[] { "--tree" }); }); diff --git a/src/Cake/Program.cs b/src/Cake/Program.cs index abe894568d..614f9f5422 100644 --- a/src/Cake/Program.cs +++ b/src/Cake/Program.cs @@ -58,7 +58,7 @@ public async Task Run(string[] args) } // Top level examples. - config.AddExample(new[] { string.Empty }); + config.AddExample(Array.Empty()); config.AddExample(new[] { "build.cake", "--verbosity", "quiet" }); config.AddExample(new[] { "build.cake", "--tree" }); }); diff --git a/tests/integration/Cake.Core/Scripting/SpectreConsole.cake b/tests/integration/Cake.Core/Scripting/SpectreConsole.cake index 8dcf832fc0..52d15d8028 100644 --- a/tests/integration/Cake.Core/Scripting/SpectreConsole.cake +++ b/tests/integration/Cake.Core/Scripting/SpectreConsole.cake @@ -5,7 +5,7 @@ Task("Cake.Core.Scripting.Spectre.Console.FigletText") { AnsiConsole.Render( new FigletText("Cake") - .LeftAligned() + .LeftJustified() .Color(Color.Red)); });