Skip to content
Snippets Groups Projects
Commit 362da26f authored by Baptiste Fontaine's avatar Baptiste Fontaine
Browse files

test-bot: ensure install_passed is always defined

parent f3035333
No related branches found
No related tags found
No related merge requests found
......@@ -568,13 +568,12 @@ module Homebrew
install_args << canonical_formula_name
# Don't care about e.g. bottle failures for dependencies.
install_passed = false
run_as_not_developer do
if !ARGV.include?("--fast") || formula_bottled
test "brew", "install", "--only-dependencies", *install_args unless dependencies.empty?
test "brew", "install", *install_args
install_passed = steps.last.passed?
else
install_passed = false
end
end
audit_args = [canonical_formula_name]
......
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