Skip to content
Snippets Groups Projects
Commit 6545e6da authored by Jack Nagel's avatar Jack Nagel
Browse files

Remove unreachable branch

Requirements meeting this condition are skipped by the first branch
on the caller side:

https://github.com/Homebrew/homebrew/blob/6c54de812f00658404501719d315202a5551cc1b/Library/Homebrew/formula_installer.rb
parent f90e303f
No related branches found
No related tags found
No related merge requests found
......@@ -237,7 +237,6 @@ class FormulaInstaller
def install_requirement_default_formula?(req, dependent, build)
return false unless req.default_formula?
return false if build.without?(req) && (req.recommended? || req.optional?)
return true unless req.satisfied?
install_bottle_for?(dependent, build) || build_bottle?
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment