os/mac: fix fetching Linux bottles on macOS
Closes #17375. Closes #17376 (as it replaces it).
This commit is contained in:
parent
968d56cb7a
commit
4215603daf
@ -26,7 +26,6 @@ module OS
|
|||||||
# @api internal
|
# @api internal
|
||||||
sig { returns(MacOSVersion) }
|
sig { returns(MacOSVersion) }
|
||||||
def self.version
|
def self.version
|
||||||
odisabled "`MacOS.version` on Linux" if Homebrew::SimulateSystem.simulating_or_running_on_linux?
|
|
||||||
@version ||= full_version.strip_patch
|
@version ||= full_version.strip_patch
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user