Commit a5757c72 authored by Grzegorz Bizon's avatar Grzegorz Bizon 🌡

Merge branch 'fix_rubocop_warning_about_has_key' into 'master'

Use key? instead of has_key?

See merge request !11971
parents 6ee216c4 0edc1ef6
Pipeline #8837756 passed with stages
in 87 minutes and 7 seconds
......@@ -13,7 +13,7 @@ module Gitlab
metrics.flat_map do |metric|
metric_lines = []
unless type_declaration_added.has_key?(
unless type_declaration_added.key?(
type_declaration_added[] = true
metric_lines << metric_type_declaration(metric)
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