From a70c44993f52f731f84fde3471ff805249851a97 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 3 May 2013 16:37:44 +0100 Subject: [PATCH] brew-test-bot: handle empty log files. --- Library/Contributions/cmd/brew-test-bot.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb index 3451dfc02a..57ecaddfb8 100755 --- a/Library/Contributions/cmd/brew-test-bot.rb +++ b/Library/Contributions/cmd/brew-test-bot.rb @@ -70,7 +70,7 @@ class Step else output = `#{command}` end - output = IO.read(step.log_file_path) + output = IO.read(step.log_file_path) rescue nil success = $?.success? step.status = success ? :passed : :failed