Skip to content

Commit

Permalink
fix casing of method
Browse files Browse the repository at this point in the history
  • Loading branch information
abaskk-msft committed Jun 27, 2024
1 parent e2aeb14 commit 37af06b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/YamlValidator/ValidatorResults.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ public class ValidatorResults
public ValidatorResults(bool schemaValid, IReadOnlyList<ValidatorError> traversalResults)
{
SchemaValid = schemaValid;
TraversalResults = filterErrors(traversalResults);
TraversalResults = FilterErrors(traversalResults);
}

// This will filter out the false positives that are not relevant to the error output, when the validation is false
private ReadOnlyCollection<ValidatorError> filterErrors(IReadOnlyList<ValidatorError> traversalResults)
private ReadOnlyCollection<ValidatorError> FilterErrors(IReadOnlyList<ValidatorError> traversalResults)
{
var maxSchemaArraySuffixSize = 0;
var maxSchemaObjectSuffixSize = 0;
Expand Down

0 comments on commit 37af06b

Please sign in to comment.