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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tooling/docs/deprecation_handling.rb')
-rw-r--r--tooling/docs/deprecation_handling.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/tooling/docs/deprecation_handling.rb b/tooling/docs/deprecation_handling.rb
index bcdf73e0044..5996a0c89c1 100644
--- a/tooling/docs/deprecation_handling.rb
+++ b/tooling/docs/deprecation_handling.rb
@@ -1,4 +1,5 @@
# frozen_string_literal: true
+
require 'erb'
module Docs
@@ -7,11 +8,7 @@ module Docs
@type = type
@yaml_glob_path = Rails.root.join("data/#{type.pluralize}/**/*.yml")
@template_path = Rails.root.join("data/#{type.pluralize}/templates/_#{type}_template.md.erb")
- @milestone_key_name = if type == "deprecation"
- "announcement_milestone"
- else
- "removal_milestone"
- end
+ @milestone_key_name = "removal_milestone"
end
def render