Add missing MacOS.release deprecation.
This commit is contained in:
parent
f9f9dbc3e9
commit
6714acc098
@ -8,3 +8,4 @@ require "compat/ENV/shared"
|
||||
require "compat/extend/string"
|
||||
require "compat/gpg"
|
||||
require "compat/dependable"
|
||||
require "compat/os/mac"
|
||||
|
||||
10
Library/Homebrew/compat/os/mac.rb
Normal file
10
Library/Homebrew/compat/os/mac.rb
Normal file
@ -0,0 +1,10 @@
|
||||
module OS
|
||||
module Mac
|
||||
class << self
|
||||
def release
|
||||
odeprecated "MacOS.release", "MacOS.version"
|
||||
version
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
x
Reference in New Issue
Block a user