Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/ci/reports/security/identifier.rb')
-rw-r--r--lib/gitlab/ci/reports/security/identifier.rb4
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