Commit a395b762 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix rubocop offense in pipeline model

parent d147ebf3
...@@ -137,7 +137,7 @@ module Ci ...@@ -137,7 +137,7 @@ module Ci
end end
def mark_as_processable_after_stage(stage_idx) def mark_as_processable_after_stage(stage_idx)
builds.skipped.where('stage_idx > ?', stage_idx).each(&:process) builds.skipped.where('stage_idx > ?', stage_idx).find_each(&:process)
end end
def latest? def latest?
......
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