summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2018-03-12 16:53:12 +0000
committerRobert Speicher <robert@gitlab.com>2018-03-12 16:53:12 +0000
commitff292d40a23e3df9b08f7b4dc715f1e35bf34de1 (patch)
treea6b8b4c789aee3c7a10c9e00948f54a5e3fe9efa /lib
parent1be6a4424a37fa76b3cd1b856aa718c186809599 (diff)
parent68f8a798f24405318721a3457f2feb94452ba67b (diff)
downloadgitlab-ce-ff292d40a23e3df9b08f7b4dc715f1e35bf34de1.tar.gz
Merge branch 'allow-ee-in-backtraces' into 'master'
Include the ee/ directory in backtraces Closes gitlab-ee#5204 See merge request gitlab-org/gitlab-ce!17664
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab.rb b/lib/gitlab.rb
index 11f7c8b9510..aa9fd36d9ff 100644
--- a/lib/gitlab.rb
+++ b/lib/gitlab.rb
@@ -2,6 +2,7 @@ require_dependency 'gitlab/git'
module Gitlab
COM_URL = 'https://gitlab.com'.freeze
+ APP_DIRS_PATTERN = %r{^/?(app|config|ee|lib|spec|\(\w*\))}
def self.com?
# Check `staging?` as well to keep parity with gitlab.com