Skip to content

Commit

Permalink
Validate lines and columns for Annotations (#2082)
Browse files Browse the repository at this point in the history
  • Loading branch information
konradpabjan authored Aug 24, 2022
1 parent cba19c4 commit 5989479
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Runner.Worker/ActionCommandManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,8 @@ public abstract class IssueCommandExtension : RunnerService, IActionCommandExten

public void ProcessCommand(IExecutionContext context, string inputLine, ActionCommand command, ContainerInfo container)
{
ValidateLinesAndColumns(command, context);

command.Properties.TryGetValue(IssueCommandProperties.File, out string file);
command.Properties.TryGetValue(IssueCommandProperties.Line, out string line);
command.Properties.TryGetValue(IssueCommandProperties.Column, out string column);
Expand Down

0 comments on commit 5989479

Please sign in to comment.