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:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-28 18:09:30 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-28 18:09:30 +0300
commit2456dfad81258eb4dd66bd4b0fa34b458fe31955 (patch)
tree0b11166bac5a63f630c728549c138b31e6e2aa3c /app/finders
parent0108f676d2d00963b9be64fe3a1b9ff94e9ee6fb (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/finders')
-rw-r--r--app/finders/ci/commit_statuses_finder.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/finders/ci/commit_statuses_finder.rb b/app/finders/ci/commit_statuses_finder.rb
index d49ec7ebb40..c3d0a34d2ff 100644
--- a/app/finders/ci/commit_statuses_finder.rb
+++ b/app/finders/ci/commit_statuses_finder.rb
@@ -21,9 +21,9 @@ module Ci
def latest_commits
strong_memoize(:latest_commits) do
- refs.map do |ref|
+ refs.to_h do |ref|
[ref.name, @repository.commit(ref.dereferenced_target).sha]
- end.to_h
+ end
end
end