diff options
Diffstat (limited to 'lib/gitlab/ci/reports/security/identifier.rb')
-rw-r--r-- | lib/gitlab/ci/reports/security/identifier.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/ci/reports/security/identifier.rb b/lib/gitlab/ci/reports/security/identifier.rb index 4ba943cdcbc..0ff6be6acc4 100644 --- a/lib/gitlab/ci/reports/security/identifier.rb +++ b/lib/gitlab/ci/reports/security/identifier.rb @@ -31,8 +31,8 @@ module Gitlab fingerprint name url - ].each_with_object({}) do |key, hash| - hash[key] = public_send(key) # rubocop:disable GitlabSecurity/PublicSend + ].index_with do |key| + public_send(key) # rubocop:disable GitlabSecurity/PublicSend end end |