Skip to content

Commit e2ccd15

Browse files
Merge pull request #4140 from FrankRay78/Update-spectre.console-to-0.46.0
Upgrade Spectre.Console to v0.46.0
2 parents 7ad0f48 + 2d86b0f commit e2ccd15

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/Cake.Cli/Cake.Cli.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
<ItemGroup>
2121
<PackageReference Include="Autofac" Version="6.5.0" />
22-
<PackageReference Include="Spectre.Console" Version="0.45.0" />
23-
<PackageReference Include="Spectre.Console.Cli" Version="0.45.0" />
22+
<PackageReference Include="Spectre.Console" Version="0.46.0" />
23+
<PackageReference Include="Spectre.Console.Cli" Version="0.46.0" />
2424
</ItemGroup>
2525
</Project>

src/Cake.Frosting/CakeHost.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public int Run(IEnumerable<string> args)
9090
config.ValidateExamples();
9191

9292
// Top level examples.
93-
config.AddExample(new[] { string.Empty });
93+
config.AddExample(Array.Empty<string>());
9494
config.AddExample(new[] { "--verbosity", "quiet" });
9595
config.AddExample(new[] { "--tree" });
9696
});

src/Cake/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public async Task<int> Run(string[] args)
5858
}
5959

6060
// Top level examples.
61-
config.AddExample(new[] { string.Empty });
61+
config.AddExample(Array.Empty<string>());
6262
config.AddExample(new[] { "build.cake", "--verbosity", "quiet" });
6363
config.AddExample(new[] { "build.cake", "--tree" });
6464
});

tests/integration/Cake.Core/Scripting/SpectreConsole.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Task("Cake.Core.Scripting.Spectre.Console.FigletText")
55
{
66
AnsiConsole.Render(
77
new FigletText("Cake")
8-
.LeftAligned()
8+
.LeftJustified()
99
.Color(Color.Red));
1010
});
1111

0 commit comments

Comments
 (0)