Fix formatting

This commit is contained in:
Douglas Eichelberger 2024-09-19 10:43:05 -07:00
parent 61985bc7f3
commit 125ced9cf8

View File

@ -6,8 +6,9 @@ module OS
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) }