Skip to content

Commit 532dcac

Browse files
Bump the spectre group with 2 updates (#154)
* Bump the spectre group with 2 updates Bumps Spectre.Console from 0.50.0 to 0.54.0 Bumps Spectre.Console.Cli from 0.50.0 to 0.53.1 --- updated-dependencies: - dependency-name: Spectre.Console dependency-version: 0.54.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: spectre - dependency-name: Spectre.Console.Cli dependency-version: 0.53.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: spectre ... Signed-off-by: dependabot[bot] <support@github.com> * Add `CancellationToken` support to all command `Execute` methods --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Simon McKenna <sshnug.si+github@gmail.com>
1 parent 106bf21 commit 532dcac

6 files changed

Lines changed: 9 additions & 7 deletions

File tree

Directory.Packages.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1818
</PackageVersion>
1919
<PackageVersion Include="Shouldly" Version="4.2.1" />
20-
<PackageVersion Include="Spectre.Console" Version="0.50.0" />
20+
<PackageVersion Include="Spectre.Console" Version="0.54.0" />
2121
<PackageVersion Include="Spectre.Console.Analyzer" Version="1.0.0">
2222
<PrivateAssets>all</PrivateAssets>
2323
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2424
</PackageVersion>
25-
<PackageVersion Include="Spectre.Console.Cli" Version="0.50.0" />
25+
<PackageVersion Include="Spectre.Console.Cli" Version="0.53.1" />
2626
<PackageVersion Include="xunit" Version="2.9.3" />
2727
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5">
2828
<PrivateAssets>all</PrivateAssets>

LeetCode/Commands/AppCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
internal sealed class AppCommand : Command
44
{
5-
public override int Execute(CommandContext context)
5+
public override int Execute(CommandContext context, CancellationToken cancellationToken)
66
{
77
try
88
{

LeetCode/Commands/BenchmarkCommand.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ internal sealed class BenchmarkCommand : Command<BenchmarkSettings>
55
[SuppressMessage("ReSharper", "RedundantNullableFlowAttribute")]
66
public override int Execute(
77
[NotNull] CommandContext context,
8-
[NotNull] BenchmarkSettings settings)
8+
[NotNull] BenchmarkSettings settings,
9+
CancellationToken cancellationToken)
910
{
1011
try
1112
{

LeetCode/Commands/InfoCommand.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ internal sealed class InfoCommand : Command<ProblemSettings>
55
[SuppressMessage("ReSharper", "RedundantNullableFlowAttribute")]
66
public override int Execute(
77
[NotNull] CommandContext context,
8-
[NotNull] ProblemSettings settings)
8+
[NotNull] ProblemSettings settings,
9+
CancellationToken cancellationToken)
910
{
1011
try
1112
{

LeetCode/Commands/ListCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
internal sealed class ListCommand : Command
44
{
55
[SuppressMessage("ReSharper", "RedundantNullableFlowAttribute")]
6-
public override int Execute([NotNull] CommandContext context)
6+
public override int Execute([NotNull] CommandContext context, CancellationToken cancellationToken)
77
{
88
try
99
{

LeetCode/Commands/WorkflowCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
internal sealed class WorkflowCommand : Command
44
{
55
[SuppressMessage("ReSharper", "RedundantNullableFlowAttribute")]
6-
public override int Execute([NotNull] CommandContext context)
6+
public override int Execute([NotNull] CommandContext context, CancellationToken cancellationToken)
77
{
88
try
99
{

0 commit comments

Comments
 (0)