formula_installer: prefer 'Dependable#run?'
Both `req.tags.include?(:run)` and `req.run?` are currently equivalent, but the latter relies less on implementation details.
This commit is contained in:
parent
f1ac9b5776
commit
a4a2b305f2
@ -286,7 +286,7 @@ class FormulaInstaller
|
||||
def install_requirement_default_formula?(req, dependent, build)
|
||||
return false unless req.default_formula?
|
||||
return true unless req.satisfied?
|
||||
return false if req.tags.include?(:run)
|
||||
return false if req.run?
|
||||
install_bottle_for?(dependent, build) || build_bottle?
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user