Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dduugg committed Sep 19, 2024
1 parent 4465375 commit 90e0102
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Library/Homebrew/extend/os/mac/simulate_system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ module Mac
module SimulateSystem
sig { returns(T::Boolean) }
def simulating_or_running_on_macos?
Homebrew::SimulateSystem.os.blank? || [:macos,
*MacOSVersion::SYMBOLS.keys].include?(Homebrew::SimulateSystem.os)
return true if Homebrew::SimulateSystem.os.blank?

[:macos, *MacOSVersion::SYMBOLS.keys].include?(Homebrew::SimulateSystem.os)
end

sig { returns(Symbol) }
Expand Down

0 comments on commit 90e0102

Please sign in to comment.