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 Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageVersion>
<PackageVersion Include="Shouldly" Version="4.2.1" />
<PackageVersion Include="Spectre.Console" Version="0.50.0" />
<PackageVersion Include="Spectre.Console" Version="0.54.0" />
<PackageVersion Include="Spectre.Console.Analyzer" Version="1.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageVersion>
<PackageVersion Include="Spectre.Console.Cli" Version="0.50.0" />
<PackageVersion Include="Spectre.Console.Cli" Version="0.53.1" />
<PackageVersion Include="xunit" Version="2.9.3" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5">
<PrivateAssets>all</PrivateAssets>
Expand Down
2 changes: 1 addition & 1 deletion LeetCode/Commands/AppCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

internal sealed class AppCommand : Command
{
public override int Execute(CommandContext context)
public override int Execute(CommandContext context, CancellationToken cancellationToken)
{
try
{
Expand Down
3 changes: 2 additions & 1 deletion LeetCode/Commands/BenchmarkCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ internal sealed class BenchmarkCommand : Command<BenchmarkSettings>
[SuppressMessage("ReSharper", "RedundantNullableFlowAttribute")]
public override int Execute(
[NotNull] CommandContext context,
[NotNull] BenchmarkSettings settings)
[NotNull] BenchmarkSettings settings,
CancellationToken cancellationToken)
{
try
{
Expand Down
3 changes: 2 additions & 1 deletion LeetCode/Commands/InfoCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ internal sealed class InfoCommand : Command<ProblemSettings>
[SuppressMessage("ReSharper", "RedundantNullableFlowAttribute")]
public override int Execute(
[NotNull] CommandContext context,
[NotNull] ProblemSettings settings)
[NotNull] ProblemSettings settings,
CancellationToken cancellationToken)
{
try
{
Expand Down
2 changes: 1 addition & 1 deletion LeetCode/Commands/ListCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
internal sealed class ListCommand : Command
{
[SuppressMessage("ReSharper", "RedundantNullableFlowAttribute")]
public override int Execute([NotNull] CommandContext context)
public override int Execute([NotNull] CommandContext context, CancellationToken cancellationToken)
{
try
{
Expand Down
2 changes: 1 addition & 1 deletion LeetCode/Commands/WorkflowCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
internal sealed class WorkflowCommand : Command
{
[SuppressMessage("ReSharper", "RedundantNullableFlowAttribute")]
public override int Execute([NotNull] CommandContext context)
public override int Execute([NotNull] CommandContext context, CancellationToken cancellationToken)
{
try
{
Expand Down