Add clarification comment

This commit is contained in:
Rylan Polster 2022-08-03 01:32:37 -04:00
parent 58be76bc9d
commit 7326019c93
No known key found for this signature in database
GPG Key ID: 46A744940CFF4D64

View File

@ -32,6 +32,8 @@ module OnSystem
base_os = MacOS::Version.from_symbol(os_name)
current_os = if Homebrew::SimulateSystem.current_os == :macos
# Assume the oldest macOS version when simulating a generic macOS version
# Version::NULL is always treated as less than any other version.
Version::NULL
else
MacOS::Version.from_symbol(Homebrew::SimulateSystem.current_os)