Merge pull request #12035 from Bo98/macos-version-null
os/linux: fix Version::NULL type mixup
This commit is contained in:
commit
08afb4b227
@ -40,11 +40,11 @@ module OS
|
||||
raise "Loaded OS::Linux on generic OS!" if ENV["HOMEBREW_TEST_GENERIC_OS"]
|
||||
|
||||
def version
|
||||
Version::NULL
|
||||
::Version::NULL
|
||||
end
|
||||
|
||||
def full_version
|
||||
Version::NULL
|
||||
::Version::NULL
|
||||
end
|
||||
|
||||
def languages
|
||||
@ -71,7 +71,7 @@ module OS
|
||||
module_function
|
||||
|
||||
def version
|
||||
Version::NULL
|
||||
::Version::NULL
|
||||
end
|
||||
|
||||
def installed?
|
||||
@ -83,7 +83,7 @@ module OS
|
||||
module_function
|
||||
|
||||
def version
|
||||
Version::NULL
|
||||
::Version::NULL
|
||||
end
|
||||
|
||||
def installed?
|
||||
|
@ -4,7 +4,6 @@
|
||||
# typed: strong
|
||||
module ::StackProf; end
|
||||
module DependencyCollector::Compat; end
|
||||
module OS::Mac::Version::NULL; end
|
||||
module T::InterfaceWrapper::Helpers; end
|
||||
module T::Private::Abstract::Hooks; end
|
||||
module T::Private::Methods::MethodHooks; end
|
||||
|
Loading…
x
Reference in New Issue
Block a user