Commit 39c17ccb authored by Stan Hu's avatar Stan Hu

Fix Rubocop unused variables warning

parent 85f7824b
...@@ -40,10 +40,10 @@ module Ci ...@@ -40,10 +40,10 @@ module Ci
def process_build(build, current_status) def process_build(build, current_status)
if valid_statuses_for_when(build.when).include?(current_status) if valid_statuses_for_when(build.when).include?(current_status)
r = build.enqueue build.enqueue
true true
else else
r = build.skip build.skip
false false
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