Skip to content

Commit

Permalink
cask/dsl/caveats: fix rosetta caveat printing
Browse files Browse the repository at this point in the history
  • Loading branch information
bevanjkay committed Aug 12, 2024
1 parent d40e170 commit 7e04c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/cask/dsl/caveats.rb
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def eval_caveats(&block)
end

caveat :requires_rosetta do
next if !Hardware::CPU.arm? || Homebrew::SimulateSystem.current_arch != :arm
next if Homebrew::SimulateSystem.current_arch != :arm

<<~EOS
#{@cask} is built for Intel macOS and so requires Rosetta 2 to be installed.
Expand Down

0 comments on commit 7e04c96

Please sign in to comment.