Skip to content

Commit

Permalink
cmd/update-report: don't output cask updates on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
bevanjkay committed Aug 12, 2024
1 parent d40e170 commit 0a9883a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Library/Homebrew/cmd/update-report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,8 @@ def dump_new_formula_report
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
Expand All @@ -836,6 +838,8 @@ def dump_deleted_formula_report
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)
Expand Down

0 comments on commit 0a9883a

Please sign in to comment.