Merge pull request #51856 from yahonda/restore_warning_condition_for_ruby34
Restore unused block warnings condition for Ruby 3.4
This commit is contained in:
commit
692f25a925
@ -14,10 +14,6 @@ class WarningError < StandardError; end
|
||||
# Expected non-verbose warning emitted by Rails.
|
||||
/Ignoring .*\.yml because it has expired/,
|
||||
/Failed to validate the schema cache because/,
|
||||
|
||||
# Ref: https://bugs.ruby-lang.org/issues/15554
|
||||
# This new Ruby 3.4 warning is still being fined tuned to reduce false positives
|
||||
/the block passed to/,
|
||||
)
|
||||
|
||||
SUPPRESSED_WARNINGS = Regexp.union(
|
||||
|
Loading…
Reference in New Issue
Block a user