diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-18 03:10:04 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-18 03:10:04 +0300 |
commit | 35aeb676e824679d7e1ec8772c668b91b1dbc1bc (patch) | |
tree | 392f452d92c8a4bb15ea24322ae6532f45912243 /lib/gitlab/sourcegraph.rb | |
parent | 43678813e8265b8a00b3039fce155f4c20947a7a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/sourcegraph.rb')
-rw-r--r-- | lib/gitlab/sourcegraph.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/sourcegraph.rb b/lib/gitlab/sourcegraph.rb index 231d5aea129..7ef6ab32bd4 100644 --- a/lib/gitlab/sourcegraph.rb +++ b/lib/gitlab/sourcegraph.rb @@ -13,7 +13,8 @@ module Gitlab end def feature_enabled?(actor = nil) - feature.enabled?(actor) + # Some CI jobs grep for Feature.enabled? in our codebase, so it is important this reference stays around. + Feature.enabled?(:sourcegraph, actor) end private |