Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Cake.Cli/Infrastructure/CakeSpectreReportPrinter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Licensed to the .NET Foundation under one or more agreements.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

Expand Down Expand Up @@ -35,7 +35,7 @@ public void Write(CakeReport report)
// Create a table
var table = new Table().Border(TableBorder.SimpleHeavy);
table.Width(100);
table.BorderStyle(new Style().Foreground(ConsoleColor.Green));
table.BorderStyle(default(Style).Foreground(ConsoleColor.Green));
Comment thread
patriksvensson marked this conversation as resolved.

var includeSkippedReasonColumn = report.Any(r => !string.IsNullOrEmpty(r.SkippedMessage));
var rowStyle = new Style(ConsoleColor.Green);
Expand Down
4 changes: 2 additions & 2 deletions src/Cake.Frosting/Internal/Commands/DefaultCommand.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Licensed to the .NET Foundation under one or more agreements.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

Expand All @@ -24,7 +24,7 @@ public DefaultCommand(IServiceCollection services)
_services = services ?? throw new ArgumentNullException(nameof(services));
}

public override int Execute(CommandContext context, DefaultCommandSettings settings, System.Threading.CancellationToken cancellationToken)
protected override int Execute(CommandContext context, DefaultCommandSettings settings, System.Threading.CancellationToken cancellationToken)
{
// Register arguments
var arguments = CreateCakeArguments(context.Remaining, settings);
Expand Down
2 changes: 1 addition & 1 deletion src/Cake/Commands/DefaultCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public DefaultCommand(
/// <param name="settings">The command settings.</param>
/// <param name="cancellationToken">The cancellation token to monitor for cancel requests.</param>
/// <returns>The exit code.</returns>
public override int Execute(CommandContext context, DefaultCommandSettings settings, System.Threading.CancellationToken cancellationToken)
protected override int Execute(CommandContext context, DefaultCommandSettings settings, System.Threading.CancellationToken cancellationToken)
{
try
{
Expand Down
6 changes: 3 additions & 3 deletions src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
<PackageVersion Include="NuGet.Resolver" Version="7.3.0" />
<PackageVersion Include="NuGet.Versioning" Version="7.3.0" />
<PackageVersion Include="NuGet.Credentials" Version="7.3.0" />
<PackageVersion Include="Spectre.Console" Version="0.54.0" />
<PackageVersion Include="Spectre.Console.Cli" Version="0.53.1" />
<PackageVersion Include="Spectre.Console.Testing" Version="0.54.0" />
<PackageVersion Include="Spectre.Console" Version="0.55.0" />
<PackageVersion Include="Spectre.Console.Cli" Version="0.55.0" />
<PackageVersion Include="Spectre.Console.Testing" Version="0.55.0" />
<PackageVersion Include="Spectre.Verify.Extensions" Version="28.16.0" />
<PackageVersion Include="Verify.DiffPlex" Version="3.1.2" />
<PackageVersion Include="Verify.XunitV3" Version="31.13.5" />
Expand Down
Loading