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:
authorMarcel Amirault <4155490-marcel.amirault@users.noreply.gitlab.com>2021-06-28 13:27:12 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2021-06-28 13:27:12 +0300
commit9749155db7813e09427b6d247b515e9c23a6bfeb (patch)
tree5cf4fc50f8901fe3d8a9276704a217d7a39a10cb /Rakefile
parentdae85142149c1b6187afde1209c7165ccba720a5 (diff)
Remove readme symlink code
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 677bdb21..96f60873 100644
--- a/Rakefile
+++ b/Rakefile
@@ -207,6 +207,8 @@ task :symlink_readmes do
next if readmes.key?(product['slug']) == false
+ next if readmes.fetch(product['slug']).nil?
+
readmes.fetch(product['slug']).each do |readme|
dirname = File.dirname(readme)
target = "#{dirname}/index.html"