Skip to content
This repository was archived by the owner on Jul 25, 2024. It is now read-only.

Commit a3676b1

Browse files
author
Josh Price
committed
Remove compiler warnings
1 parent c99d710 commit a3676b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/graphql/validation/validator.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ defmodule GraphQL.Validation.Validator do
1818
Runs validations against the document with all known validation rules.
1919
"""
2020
def validate(schema, document) do
21-
validate_with_rules(schema, document, Rules.all)
21+
validate_with_rules(schema, document, Rules.all)
2222
end
2323

2424
@doc """
@@ -35,7 +35,7 @@ defmodule GraphQL.Validation.Validator do
3535
schema = Schema.with_type_cache(schema)
3636
validation_pipeline = CompositeVisitor.compose([
3737
%TypeInfoVisitor{},
38-
rule
38+
rule
3939
])
4040
result = Reducer.reduce(document, validation_pipeline, %{
4141
type_info: %TypeInfo{schema: schema},

0 commit comments

Comments
 (0)