Skip to content

Commit

Permalink
brew style --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhongRuoyu committed Oct 15, 2024
1 parent a10b94d commit 85d4af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/hash/keys.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def _deep_transform_keys_in_object!(object, &block)
case object
when Hash
# 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)
object[yield(key)] = _deep_transform_keys_in_object!(value, &block)
end
Expand Down

0 comments on commit 85d4af4

Please sign in to comment.