Merge pull request #8565 from SeekingMeaning/installer/optlinked

cask/installer: fix reference to opt_linked/optlinked
This commit is contained in:
Mike McQuaid 2020-09-02 13:35:46 +01:00 committed by GitHub
commit ea27822c94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -332,7 +332,7 @@ module Cask
else else
cask_or_formula.try(:installed?) cask_or_formula.try(:installed?)
end end
installed && (cask_or_formula.respond_to?(:opt_linked?) ? cask_or_formula.opt_linked? : true) installed && (cask_or_formula.respond_to?(:optlinked?) ? cask_or_formula.optlinked? : true)
end end
end end