Skip to content

Commit

Permalink
Allow hiding new/deleted formula/cask sections on update
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenesvk committed Aug 7, 2023
1 parent a8022e6 commit 7501e5f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Library/Homebrew/cmd/update-report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -749,12 +749,12 @@ def dump(auto_update: false)
report_all = false
end

dump_new_formula_report
dump_new_cask_report
dump_new_formula_report if ENV["HOMEBREW_NO_UPDATE_REPORT_FORMULAE"].blank?
dump_new_cask_report if ENV["HOMEBREW_NO_UPDATE_REPORT_CASKS"].blank?
dump_renamed_formula_report if report_all
dump_renamed_cask_report if report_all
dump_deleted_formula_report(report_all)
dump_deleted_cask_report(report_all)
dump_deleted_formula_report(report_all) if ENV["HOMEBREW_NO_UPDATE_REPORT_FORMULAE_DELETED"].blank?
dump_deleted_cask_report(report_all) if ENV["HOMEBREW_NO_UPDATE_REPORT_CASKS_DELETED"].blank?

outdated_formulae = []
outdated_casks = []
Expand Down

0 comments on commit 7501e5f

Please sign in to comment.