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 ...@@ -238,11 +238,11 @@ module Ci
end end
def trace def trace
trace = raw_trace result = raw_trace
if project && trace.present? && project.runners_token.present? if project && result.present? && project.runners_token.present?
trace.gsub(project.runners_token, 'xxxxxx') result.gsub(project.runners_token, 'xxxxxx')
else else
trace result
end end
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