Commit 04dea654 authored by Małgorzata Ksionek's avatar Małgorzata Ksionek

Fix rubocop offences

parent 06385da4
......@@ -10,7 +10,7 @@ module Gitlab
private
def base_query
@base_query ||= stage_query(projects.map(&:id)) # rubocop:disable Gitlab/ModuleWithInstanceVariables
@base_query ||= stage_query(projects.map(&:id))
end
def stage_query(project_ids)
......
......@@ -32,7 +32,7 @@ module Gitlab
def medians_per_stage
projects.each_with_object({}) do |project, hsh|
::CycleAnalytics::ProjectLevel.new(project: project, options: options).all_medians_per_stage.each do |stage_name, median| hsh[stage_name] ||= []
::CycleAnalytics::ProjectLevel.new(project: project, options: options).all_medians_per_stage.each do |stage_name, median|
hsh[stage_name] << median
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