Merge pull request #18022 from bevanjkay/update-report

This commit is contained in:
Mike McQuaid 2024-08-12 08:56:14 +01:00 committed by GitHub
commit fa53e7b1e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -820,6 +820,8 @@ class ReporterHub
end
def dump_new_cask_report
return if Homebrew::SimulateSystem.simulating_or_running_on_linux?
casks = select_formula_or_cask(:AC).sort.filter_map do |name|
name.split("/").last unless cask_installed?(name)
end
@ -836,6 +838,8 @@ class ReporterHub
end
def dump_deleted_cask_report
return if Homebrew::SimulateSystem.simulating_or_running_on_linux?
casks = select_formula_or_cask(:DC).sort.filter_map do |name|
name = name.split("/").last
pretty_uninstalled(name) if cask_installed?(name)