Skip to content

Commit

Permalink
Add missing ruby2_keywords in extra place to ensure args are correctl…
Browse files Browse the repository at this point in the history
…y forwarded
  • Loading branch information
anero committed Jan 5, 2023
1 parent e7bbb4e commit fbbf41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/faraday/dependency_loader.rb
Expand Up @@ -13,7 +13,7 @@ def dependency(lib = nil)
self.load_error = e
end

def new(*)
ruby2_keywords def new(*)
unless loaded?
raise "missing dependency for #{self}: #{load_error.message}"
end
Expand Down

0 comments on commit fbbf41c

Please sign in to comment.