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
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@ jobs:
fetch-depth: 0
- name: Build
run: dotnet build --configuration Release
- name: Build Example
run: dotnet build --configuration Release ConsoleMarkdownRenderer.Example
- name: Test
run: dotnet test --configuration Release ConsoleMarkdownRenderer.Tests
3 changes: 2 additions & 1 deletion ConsoleMarkdownRenderer.Example/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Spectre.Console;
using Spectre.Console.Cli;
Expand Down Expand Up @@ -51,7 +52,7 @@ class ExampleSettings : CommandSettings

class ExampleCommand : AsyncCommand<ExampleSettings>
{
public override async Task<int> ExecuteAsync([NotNull] CommandContext context, [NotNull] ExampleSettings settings)
protected override async Task<int> ExecuteAsync([NotNull] CommandContext context, [NotNull] ExampleSettings settings, CancellationToken cancellationToken)
{
var path = settings.Path
?? (settings.UseWeb
Expand Down
Loading