Skip to content

Commit

Permalink
Run rubocop autocorrects
Browse files Browse the repository at this point in the history
  • Loading branch information
george-ma committed Apr 3, 2024
1 parent 944706e commit d5554a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/graphql/batch/loader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def prime(key, value)
cache[cache_key(key)] ||= ::Promise.resolve(value).tap { |p| p.source = self }
end

def resolve #:nodoc:
def resolve # :nodoc:
return if resolved?
load_keys = queue
@queue = nil
Expand All @@ -86,7 +86,7 @@ def around_perform
end

# For Promise#sync
def wait #:nodoc:
def wait # :nodoc:
if executor
executor.resolve(self)
else
Expand Down

0 comments on commit d5554a3

Please sign in to comment.