Skip to content

Commit

Permalink
Tweak filter
Browse files Browse the repository at this point in the history
  • Loading branch information
flash-gordon committed Jan 1, 2025
1 parent 6cd8237 commit b8c3a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dry/monads/do/all.rb
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def extended(object)
if ::Gem::Version.new(::RUBY_VERSION) >= ::Gem::Version.new("3.4.0")
::Warning.prepend(Module.new {
def warn(message)
if message.include?("dry-monads/lib/dry/monads/do.rb") &&
if message.include?("lib/dry/monads/do.rb") &&
message.include?("warning: the block passed to")
nil
else
Expand Down

0 comments on commit b8c3a25

Please sign in to comment.