Merge pull request #17396 from Homebrew/fetch_linux_bottles_macos

os/mac: fix fetching Linux bottles on macOS
This commit is contained in:
Mike McQuaid 2024-05-31 09:44:14 +01:00 committed by GitHub
commit 61e398cd05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,6 @@ module OS
# @api internal
sig { returns(MacOSVersion) }
def self.version
odisabled "`MacOS.version` on Linux" if Homebrew::SimulateSystem.simulating_or_running_on_linux?
@version ||= full_version.strip_patch
end