Skip to content

Commit

Permalink
Rename block var
Browse files Browse the repository at this point in the history
  • Loading branch information
dduugg committed Dec 12, 2023
1 parent 2f22ad4 commit 4a062b1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Library/Homebrew/livecheck/livecheck.rb
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,9 @@ def run_checks(
verbose: verbose)
if check_for_resources
unless verbose
resource_version_info.map! do |r|
r.delete(:meta)
r
resource_version_info.map! do |info|
info.delete(:meta)
info

Check warning on line 327 in Library/Homebrew/livecheck/livecheck.rb

View check run for this annotation

Codecov / codecov/patch

Library/Homebrew/livecheck/livecheck.rb#L326-L327

Added lines #L326 - L327 were not covered by tests
end
end
latest_info[:resources] = resource_version_info
Expand Down Expand Up @@ -375,9 +375,9 @@ def run_checks(
progress&.increment
info.delete(:meta) unless verbose
if check_for_resources && !verbose
resource_version_info.map! do |r|
r.delete(:meta)
r
resource_version_info.map! do |info|
info.delete(:meta)
info

Check warning on line 380 in Library/Homebrew/livecheck/livecheck.rb

View check run for this annotation

Codecov / codecov/patch

Library/Homebrew/livecheck/livecheck.rb#L379-L380

Added lines #L379 - L380 were not covered by tests
end
end
next info
Expand Down

0 comments on commit 4a062b1

Please sign in to comment.