Merge pull request #14278 from nandahkrishna/fix-constants-livecheck
Fix access to `livecheck` constants in formulae
This commit is contained in:
commit
f679990d79
@ -65,6 +65,7 @@ class Formula
|
||||
include Utils::Shell
|
||||
include Context
|
||||
include OnSystem::MacOSAndLinux
|
||||
include Homebrew::Livecheck::Constants
|
||||
extend Forwardable
|
||||
extend Cachable
|
||||
extend Predicable
|
||||
@ -3278,7 +3279,6 @@ class Formula
|
||||
def livecheck(&block)
|
||||
return @livecheck unless block
|
||||
|
||||
include Homebrew::Livecheck::Constants
|
||||
@livecheckable = true
|
||||
@livecheck.instance_eval(&block)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user