Commit a395b762 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix rubocop offense in pipeline model

parent d147ebf3
......@@ -137,7 +137,7 @@ module Ci
end
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
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