Commit 29a3ac19 authored by Nick Thomas's avatar Nick Thomas

Fix Style/PreferredHashMethods cop failure introduced in merge

parent 1731bab7
......@@ -13,7 +13,7 @@ module Gitlab
metrics.flat_map do |metric|
metric_lines = []
unless type_declaration_added.has_key?(metric.name)
unless type_declaration_added.key?(metric.name)
type_declaration_added[metric.name] = true
metric_lines << metric_type_declaration(metric)
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