Commit 5869fb20 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Avoid using the same name with method

parent 9dffd2c0
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment