Merge pull request #7101 from MichelleNguy/display-updated-casks
Display updated casks when running `brew update`
This commit is contained in:
commit
486d498d6e
@ -199,6 +199,9 @@ class Reporter
|
||||
if status == "D"
|
||||
# Have a dedicated report array for deleted casks.
|
||||
@report[:DC] << tap.formula_file_to_name(src)
|
||||
elsif status == "M"
|
||||
# Report updated casks
|
||||
@report[:MC] << tap.formula_file_to_name(src)
|
||||
end
|
||||
end
|
||||
|
||||
@ -422,6 +425,8 @@ class ReporterHub
|
||||
dump_formula_report :M, "Updated Formulae"
|
||||
dump_formula_report :R, "Renamed Formulae"
|
||||
dump_formula_report :D, "Deleted Formulae"
|
||||
dump_formula_report :MC, "Updated Casks"
|
||||
dump_formula_report :DC, "Deleted Casks"
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user