Revert "utils/bottles: fix typechecking error"
This reverts commit 071f6069d2cff272eaa9404f836cb1254c4fb588.
This commit is contained in:
parent
7d02626bbd
commit
9b369871e6
@ -7,7 +7,7 @@ module Utils
|
||||
undef tag
|
||||
|
||||
def tag(symbol = nil)
|
||||
return Utils::Bottles::Tag.from_symbol(symbol.to_sym) if symbol.present?
|
||||
return Utils::Bottles::Tag.from_symbol(symbol) if symbol.present?
|
||||
|
||||
Utils::Bottles::Tag.new(system: MacOS.version.to_sym, arch: Hardware::CPU.arch)
|
||||
end
|
||||
|
||||
@ -11,7 +11,7 @@ module Utils
|
||||
class << self
|
||||
# Gets the tag for the running OS.
|
||||
def tag(symbol = nil)
|
||||
return Tag.from_symbol(symbol.to_sym) if symbol.present?
|
||||
return Tag.from_symbol(symbol) if symbol.present?
|
||||
|
||||
@tag ||= Tag.new(system: HOMEBREW_SYSTEM.downcase.to_sym,
|
||||
arch: HOMEBREW_PROCESSOR.downcase.to_sym)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user