Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/symlinks_converter.rb')
-rw-r--r--lib/gitlab/symlinks_converter.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/symlinks_converter.rb b/lib/gitlab/symlinks_converter.rb
index 9ba764ad5..a7cea940d 100644
--- a/lib/gitlab/symlinks_converter.rb
+++ b/lib/gitlab/symlinks_converter.rb
@@ -17,6 +17,8 @@ module Gitlab
items.each do |item|
id = item.identifier
+ next unless id.to_s.start_with?('/ee/')
+
if EXTENTIONS.include?(id.ext)
file_path = File.join(config.fetch(:content_dir), id.to_s)
real_path = Pathname.new(file_path).realpath.to_s