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 'app/models/commit_collection.rb')
-rw-r--r--app/models/commit_collection.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit_collection.rb b/app/models/commit_collection.rb
index 7d89ddde0cb..47ecdfa8574 100644
--- a/app/models/commit_collection.rb
+++ b/app/models/commit_collection.rb
@@ -25,7 +25,7 @@ class CommitCollection
end
def committers
- emails = without_merge_commits.map(&:committer_email).uniq
+ emails = without_merge_commits.filter_map(&:committer_email).uniq
User.by_any_email(emails)
end