Skip to content

Commit

Permalink
ParamsValidator
Browse files Browse the repository at this point in the history
  • Loading branch information
zadykian committed Apr 17, 2022
1 parent de2a735 commit 3a09d86
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ConsoleAppFramework/ParamsValidator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public class ParamsValidator : IParamsValidator
return ValidationResult.Success;
}

// todo: parameter may have overridden name via OptionAttribute
var errorMessage = string.Join(Environment.NewLine,
invalidParameters
.Select(tuple => $"{tuple.Parameter.Name!.ToLower()} ({tuple.Value}): {tuple.Result!.ErrorMessage}")
Expand Down

0 comments on commit 3a09d86

Please sign in to comment.