correct a variable reference

'object' is not used in that method, it should be log
This commit is contained in:
Josh Kalderimis 2015-01-13 18:40:05 +01:00
parent d18f825b15
commit 570602fc92

View File

@ -14,7 +14,7 @@ module Travis
log_hash = options[:chunked] ? chunked_log_data : log_data
if log.removed_at
log_hash['removed_at'] = log.removed_at
log_hash['removed_by'] = log.removed_by.name || object.removed_by.login
log_hash['removed_by'] = log.removed_by.name || log.removed_by.login
end
{