diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 437ff9a..2025598 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -4,7 +4,6 @@ on: push: branches: [ main, develop ] pull_request: - branches: [ main ] jobs: build: diff --git a/AutoTestId/Commands/FileCommand.cs b/AutoTestId/Commands/FileCommand.cs index 5f324fb..456632a 100644 --- a/AutoTestId/Commands/FileCommand.cs +++ b/AutoTestId/Commands/FileCommand.cs @@ -20,7 +20,7 @@ public class FileCommand : Command /// The command context /// The command settings /// Exit code (0 for success, non-zero for failure) - public override int Execute([NotNull] CommandContext context, [NotNull] FileCommandSettings settings, CancellationToken cancellationToken) + protected override int Execute([NotNull] CommandContext context, [NotNull] FileCommandSettings settings, CancellationToken cancellationToken) { try { diff --git a/AutoTestId/Commands/FolderCommand.cs b/AutoTestId/Commands/FolderCommand.cs index a53be4e..aa05c2e 100644 --- a/AutoTestId/Commands/FolderCommand.cs +++ b/AutoTestId/Commands/FolderCommand.cs @@ -20,7 +20,7 @@ public class FolderCommand : Command /// The command context /// The command settings /// Exit code (0 for success, non-zero for failure) - public override int Execute([NotNull] CommandContext context, [NotNull] FolderCommandSettings settings, CancellationToken cancellationToken) + protected override int Execute([NotNull] CommandContext context, [NotNull] FolderCommandSettings settings, CancellationToken cancellationToken) { try { diff --git a/AutoTestId/Commands/ProjectCommand.cs b/AutoTestId/Commands/ProjectCommand.cs index 598416c..5194133 100644 --- a/AutoTestId/Commands/ProjectCommand.cs +++ b/AutoTestId/Commands/ProjectCommand.cs @@ -21,7 +21,7 @@ public class ProjectCommand : Command /// The command context /// The command settings /// Exit code (0 for success, non-zero for failure) - public override int Execute([NotNull] CommandContext context, [NotNull] ProjectCommandSettings settings, CancellationToken cancellationToken) + protected override int Execute([NotNull] CommandContext context, [NotNull] ProjectCommandSettings settings, CancellationToken cancellationToken) { try { diff --git a/AutoTestId/Commands/SolutionCommand.cs b/AutoTestId/Commands/SolutionCommand.cs index 1d0e851..f087478 100644 --- a/AutoTestId/Commands/SolutionCommand.cs +++ b/AutoTestId/Commands/SolutionCommand.cs @@ -21,7 +21,7 @@ public class SolutionCommand : Command /// The command context /// The command settings /// Exit code (0 for success, non-zero for failure) - public override int Execute([NotNull] CommandContext context, [NotNull] SolutionCommandSettings settings, CancellationToken cancellationToken) + protected override int Execute([NotNull] CommandContext context, [NotNull] SolutionCommandSettings settings, CancellationToken cancellationToken) { try {