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 4, 2024
1 parent 944706e commit 0769198
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.7.5
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 0769198

Please sign in to comment.