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 '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"