cmd/update-report: fix Style/MapCompactWithConditionalBlock
This commit is contained in:
parent
96dfa631db
commit
f77722cfd3
@ -608,9 +608,7 @@ class ReporterHub
|
||||
private
|
||||
|
||||
def dump_new_formula_report
|
||||
formulae = select_formula_or_cask(:A).sort.map do |name|
|
||||
name unless installed?(name)
|
||||
end.compact
|
||||
formulae = select_formula_or_cask(:A).sort.reject { |name| installed?(name) }
|
||||
|
||||
output_dump_formula_or_cask_report "New Formulae", formulae
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user