Skip to content

Commit

Permalink
Hopefully remove untrelated changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JKamsker committed Sep 25, 2023
1 parent 96dd137 commit 3139825
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Spectre.Console.Cli/Internal/CommandExecutor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ public async Task<int> Execute(IConfiguration configuration, IEnumerable<string>
}
}

private CommandTreeParserResult? ParseCommandLineArguments(CommandModel model, CommandAppSettings settings, IEnumerable<string> args)

#pragma warning disable CS8603 // Possible null reference return.
private CommandTreeParserResult ParseCommandLineArguments(CommandModel model, CommandAppSettings settings, IEnumerable<string> args)
{
var parser = new CommandTreeParser(model, settings.CaseSensitivity, settings.ParsingMode, settings.ConvertFlagsToRemainingArguments);

Expand All @@ -115,6 +117,7 @@ public async Task<int> Execute(IConfiguration configuration, IEnumerable<string>

return parsedResult;
}
#pragma warning restore CS8603 // Possible null reference return.

private static string ResolveApplicationVersion(IConfiguration configuration)
{
Expand Down

0 comments on commit 3139825

Please sign in to comment.