Skip to content

Commit 0505b3b

Browse files
committed
Fix lint error
1 parent a4d983b commit 0505b3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/graphql/language/visitor_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def on_directive(node, parent)
187187

188188
def on_inline_fragment(node, parent)
189189
if node.selections.map(&:name) == ["renameFragmentField", "spread"]
190-
field, spread = node.selections
190+
_field, spread = node.selections
191191
new_node = node.merge(selections: [GraphQL::Language::Nodes::Field.new(name: "renamed"), spread])
192192
super(new_node, parent)
193193
else

0 commit comments

Comments
 (0)