summaryrefslogtreecommitdiff
path: root/app/finders/template_finder.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/finders/template_finder.rb')
-rw-r--r--app/finders/template_finder.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/finders/template_finder.rb b/app/finders/template_finder.rb
index dfea3d427c2..78c8392f1cd 100644
--- a/app/finders/template_finder.rb
+++ b/app/finders/template_finder.rb
@@ -3,8 +3,6 @@
class TemplateFinder
include Gitlab::Utils::StrongMemoize
- prepend_if_ee('::EE::TemplateFinder') # rubocop: disable Cop/InjectEnterpriseEditionModule
-
VENDORED_TEMPLATES = HashWithIndifferentAccess.new(
dockerfiles: ::Gitlab::Template::DockerfileTemplate,
gitignores: ::Gitlab::Template::GitignoreTemplate,
@@ -42,3 +40,5 @@ class TemplateFinder
end
end
end
+
+TemplateFinder.prepend_if_ee('::EE::TemplateFinder')