Skip to content

Commit 7b52bad

Browse files
committed
Fix method generation
1 parent 1687b4b commit 7b52bad

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

lib/graphql/language/nodes.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,10 +276,9 @@ def initialize_node #{arguments.join(", ")}
276276
#{assignments.join("\n")}
277277
end
278278
RUBY
279-
280-
# rubocop:enable Development/NoEvalCop
281279
end
282280
end
281+
# rubocop:enable Development/NoEvalCop
283282
end
284283
end
285284

lib/graphql/language/visitor.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ def visit
7373
@document
7474
end
7575
end
76-
# rubocop:disable Development/NoEvalCop This eval takes static inputs at load-time
7776

7877
# Call the user-defined handler for `node`.
7978
def visit_node(node, parent)

0 commit comments

Comments
 (0)