summaryrefslogtreecommitdiff
path: root/lib/gitlab.rb
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2018-03-09 13:35:21 +0000
committerSean McGivern <sean@gitlab.com>2018-03-12 10:14:52 +0000
commit68f8a798f24405318721a3457f2feb94452ba67b (patch)
tree5d898ad7f86255d188533827b898c4dd81b5c92d /lib/gitlab.rb
parentcd7fcfd5779716c302608ce462996809f952ceec (diff)
downloadgitlab-ce-68f8a798f24405318721a3457f2feb94452ba67b.tar.gz
Include the ee/ directory in backtracesallow-ee-in-backtraces
Diffstat (limited to 'lib/gitlab.rb')
-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