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:
authorAchilleas Pipinellis <axil@gitlab.com>2021-04-27 10:40:14 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2021-04-27 10:40:14 +0300
commit63211146d1127b26ad5148b9c3a4439042717687 (patch)
treeafd2c6d3808410da29a30a395ddbe5cd866033da /layouts/feature_flags_table.md.erb
parent6504fc38c7b34c16109a3ba081542d8841768cae (diff)
Use the Nanoc item to check for the feature flags
Using the YAML string didn't work.
Diffstat (limited to 'layouts/feature_flags_table.md.erb')
-rw-r--r--layouts/feature_flags_table.md.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/feature_flags_table.md.erb b/layouts/feature_flags_table.md.erb
index a3b7f2e2..98b142cc 100644
--- a/layouts/feature_flags_table.md.erb
+++ b/layouts/feature_flags_table.md.erb
@@ -13,7 +13,7 @@ def disabled_count(ffs)
ffs.count { |ff| !ff[:default_enabled] }
end
%>
-<% if File.exist?(feature_flags_yaml.to_s) %>
+<% if feature_flags_yaml %>
## Available feature flags
The feature flags available to you depend on: