Skip to content

Commit

Permalink
Merge pull request #4140 from FrankRay78/Update-spectre.console-to-0.…
Browse files Browse the repository at this point in the history
…46.0

Upgrade Spectre.Console to v0.46.0
  • Loading branch information
augustoproiete authored Apr 5, 2023
2 parents 7ad0f48 + 2d86b0f commit e2ccd15
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Cake.Cli/Cake.Cli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<ItemGroup>
<PackageReference Include="Autofac" Version="6.5.0" />
<PackageReference Include="Spectre.Console" Version="0.45.0" />
<PackageReference Include="Spectre.Console.Cli" Version="0.45.0" />
<PackageReference Include="Spectre.Console" Version="0.46.0" />
<PackageReference Include="Spectre.Console.Cli" Version="0.46.0" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Cake.Frosting/CakeHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public int Run(IEnumerable<string> args)
config.ValidateExamples();

// Top level examples.
config.AddExample(new[] { string.Empty });
config.AddExample(Array.Empty<string>());
config.AddExample(new[] { "--verbosity", "quiet" });
config.AddExample(new[] { "--tree" });
});
Expand Down
2 changes: 1 addition & 1 deletion src/Cake/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public async Task<int> Run(string[] args)
}

// Top level examples.
config.AddExample(new[] { string.Empty });
config.AddExample(Array.Empty<string>());
config.AddExample(new[] { "build.cake", "--verbosity", "quiet" });
config.AddExample(new[] { "build.cake", "--tree" });
});
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/Cake.Core/Scripting/SpectreConsole.cake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Task("Cake.Core.Scripting.Spectre.Console.FigletText")
{
AnsiConsole.Render(
new FigletText("Cake")
.LeftAligned()
.LeftJustified()
.Color(Color.Red));
});

Expand Down

0 comments on commit e2ccd15

Please sign in to comment.