diff options
| author | Baptiste Fontaine | 2015-10-14 17:40:12 +0200 |
|---|---|---|
| committer | Baptiste Fontaine | 2015-10-14 17:40:14 +0200 |
| commit | 362da26ff6cc46798a92c7575a50ab63aa44d2a6 (patch) | |
| tree | c1390f4513588612ca4fdc6092bcd04c36c205ec /Library/Homebrew | |
| parent | f3035333fb2963524da1668819d741ec024eb2e4 (diff) | |
| download | brew-362da26ff6cc46798a92c7575a50ab63aa44d2a6.tar.bz2 | |
test-bot: ensure install_passed is always defined
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/cmd/test-bot.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb index e109aa04c..55a3cd149 100644 --- a/Library/Homebrew/cmd/test-bot.rb +++ b/Library/Homebrew/cmd/test-bot.rb @@ -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] |
