Skip to content

Commit

Permalink
lint and typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rmosolgo committed Dec 9, 2024
1 parent 2eb67ed commit 8372ecd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/graphql/subscriptions/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def fingerprint

class << self
def arguments_without_field_extras(arguments:, field:)
if field.extras.any?
if !field.extras.empty?
arguments = arguments.dup
field.extras.each do |extra_key|
arguments.delete(extra_key)
Expand Down
1 change: 0 additions & 1 deletion spec/graphql/schema/subscription_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,6 @@ class Subscription < GraphQL::Schema::Object
field :direct, subscription: DirectWrite
field :implicit, subscription: ImplicitWrite
field :direct_twice, subscription: DirectWriteTwice
field :with_payload, subscription: DirectWriteWithPayload
end

use WriteCheckSubscriptions.new
Expand Down

0 comments on commit 8372ecd

Please sign in to comment.