Avoid using the same name with method
This commit is contained in:
parent
9dffd2c08c
commit
5869fb2014
1 changed files with 4 additions and 4 deletions
|
@ -238,11 +238,11 @@ module Ci
|
|||
end
|
||||
|
||||
def trace
|
||||
trace = raw_trace
|
||||
if project && trace.present? && project.runners_token.present?
|
||||
trace.gsub(project.runners_token, 'xxxxxx')
|
||||
result = raw_trace
|
||||
if project && result.present? && project.runners_token.present?
|
||||
result.gsub(project.runners_token, 'xxxxxx')
|
||||
else
|
||||
trace
|
||||
result
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue