brew style --fix

This commit is contained in:
apainintheneck 2024-10-17 23:45:25 -07:00
parent 80e8978f4d
commit ab5f0c0fa5

View File

@ -119,7 +119,7 @@ class Hash
case object case object
when Hash when Hash
# We can't use `each_key` here because we're updating the hash in-place. # We can't use `each_key` here because we're updating the hash in-place.
object.keys.each do |key| # rubocop:disable Style/HashEachMethods object.keys.each do |key|
value = object.delete(key) value = object.delete(key)
object[yield(key)] = _deep_transform_keys_in_object!(value, &block) object[yield(key)] = _deep_transform_keys_in_object!(value, &block)
end end