brew-test-bot: handle empty log files.
This commit is contained in:
parent
9dd7672ae7
commit
a70c44993f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user