summaryrefslogtreecommitdiff
path: root/lib/gitlab/danger
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-12-22 12:10:09 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-12-22 12:10:09 +0000
commit5393d9eb26fb71826e048798806c05906c169e61 (patch)
treeda351541f962a10c7faf7b546946424ddc549c43 /lib/gitlab/danger
parent081e00122e3f8d55f04a0a34485256d82a9b8933 (diff)
downloadgitlab-ce-5393d9eb26fb71826e048798806c05906c169e61.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/danger')
-rw-r--r--lib/gitlab/danger/helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/danger/helper.rb b/lib/gitlab/danger/helper.rb
index d22f28ff7f2..0b755418d25 100644
--- a/lib/gitlab/danger/helper.rb
+++ b/lib/gitlab/danger/helper.rb
@@ -128,7 +128,7 @@ module Gitlab
}.freeze
# First-match win, so be sure to put more specific regex at the top...
CATEGORIES = {
- [%r{usage_data\.rb}, %r{^(\+|-).*(count|distinct_count)\(.*\)(.*)$}] => [:database, :backend],
+ [%r{usage_data\.rb}, %r{^(\+|-).*\s+(count|distinct_count|estimate_batch_distinct_count)\(.*\)(.*)$}] => [:database, :backend],
%r{\Adoc/.*(\.(md|png|gif|jpg))\z} => :docs,
%r{\A(CONTRIBUTING|LICENSE|MAINTENANCE|PHILOSOPHY|PROCESS|README)(\.md)?\z} => :docs,