aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/test-bot.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/test-bot.rb')
-rw-r--r--Library/Homebrew/cmd/test-bot.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb
index 9a1478764..2617aee87 100644
--- a/Library/Homebrew/cmd/test-bot.rb
+++ b/Library/Homebrew/cmd/test-bot.rb
@@ -549,15 +549,13 @@ module Homebrew
end
def check_results
- status = :passed
- steps.each do |step|
+ steps.all? do |step|
case step.status
- when :passed then next
+ when :passed then true
when :running then raise
- when :failed then status = :failed
+ when :failed then false
end
end
- status == :passed
end
def formulae