Skip to content

Commit ee0f818

Browse files
committed
fix lint error
1 parent 42d5736 commit ee0f818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/graphql/execution/errors.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def self.find_handler_for(schema, error_class)
6969
end
7070

7171
# check for a handler from a parent class:
72-
if schema.superclass.respond_to?(:error_handlers) && (parent_errors = schema.superclass.error_handlers)
72+
if schema.superclass.respond_to?(:error_handlers)
7373
parent_handler = find_handler_for(schema.superclass, error_class)
7474
end
7575

0 commit comments

Comments
 (0)