diff options
| author | Mike McQuaid | 2013-05-03 16:37:44 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-05-03 16:39:14 +0100 |
| commit | a70c44993f52f731f84fde3471ff805249851a97 (patch) | |
| tree | a0a95052a3e74947a1119ce1c29ab30e30a45840 /Library | |
| parent | 9dd7672ae7da942495004039fd97c83e719c90a5 (diff) | |
| download | brew-a70c44993f52f731f84fde3471ff805249851a97.tar.bz2 | |
brew-test-bot: handle empty log files.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/cmd/brew-test-bot.rb | 2 |
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 |
