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:
authorEvan Read <eread@gitlab.com>2020-12-22 02:42:47 +0300
committerEvan Read <eread@gitlab.com>2020-12-22 02:42:47 +0300
commit36a0020a05042066ffc400b02c5c57167fd9ffcb (patch)
tree4dd639d59b739c8df5e34f28dfaa5d45ec771e5a /lib/helpers
parent42b205fb5487578dc3daa1cfcb6b46a5ef27a738 (diff)
Fix several minor Rubocop issues
Diffstat (limited to 'lib/helpers')
-rw-r--r--lib/helpers/child_parent_better.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/helpers/child_parent_better.rb b/lib/helpers/child_parent_better.rb
index 7c5f0fbb..f4a647f3 100644
--- a/lib/helpers/child_parent_better.rb
+++ b/lib/helpers/child_parent_better.rb
@@ -5,6 +5,7 @@ module Nanoc::Helpers
if @config[:debug]
puts item
end
+
parent_array = []
current_item = item
# Until the current item has no parent, keep running.