Skip to content
Snippets Groups Projects
Commit a70c4499 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

brew-test-bot: handle empty log files.

parent 9dd7672a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment