Skip to content

Commit cb69079

Browse files
committed
Remove unnecessary require_relative
This was causing a double require which resulted in warnings: ``` (…)/query_complexity.rb:22: warning: already initialized constant GraphQL::Analysis::AST::QueryComplexity::ScopedTypeComplexity::HASH_CHILDREN (…)/query_complexity.rb:22: warning: previous definition of HASH_CHILDREN was here ```
1 parent ea1c404 commit cb69079

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/graphql/analysis/ast/max_query_complexity.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# frozen_string_literal: true
2-
require_relative "./query_complexity"
32
module GraphQL
43
module Analysis
54
module AST

0 commit comments

Comments
 (0)