aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-05-03 16:37:44 +0100
committerMike McQuaid2013-05-03 16:39:14 +0100
commita70c44993f52f731f84fde3471ff805249851a97 (patch)
treea0a95052a3e74947a1119ce1c29ab30e30a45840 /Library
parent9dd7672ae7da942495004039fd97c83e719c90a5 (diff)
downloadbrew-a70c44993f52f731f84fde3471ff805249851a97.tar.bz2
brew-test-bot: handle empty log files.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-test-bot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb
index 3451dfc02..57ecaddfb 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