Skip to content

Commit

Permalink
steep check
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzedge committed Nov 30, 2024
1 parent 2750a9b commit 0881cd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rambling/trie/configuration/provider_collection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ def file_format filepath
def contains? provider
return true unless provider

providers.any? && provider_instances.include?(provider || raise)
value = provider || raise
providers.any? && provider_instances.include?(value)
end

alias_method :provider_instances, :values
Expand Down

0 comments on commit 0881cd7

Please # to comment.