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:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-07-20 21:07:04 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-07-20 21:07:04 +0300
commit3b7f1f7e093053f42674f950236b9733a08507cd (patch)
treea957a067b82d600cdce89a38d2e11b26d9d3bfcf /scripts/lib/glfm/update_specification.rb
parent58af7e4529e1762dea281938952bbba918d92cb9 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/lib/glfm/update_specification.rb')
-rw-r--r--scripts/lib/glfm/update_specification.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/lib/glfm/update_specification.rb b/scripts/lib/glfm/update_specification.rb
index ef6f24d5a77..0effea83378 100644
--- a/scripts/lib/glfm/update_specification.rb
+++ b/scripts/lib/glfm/update_specification.rb
@@ -123,7 +123,6 @@ module Glfm
validate_expected_spec_version!(ghfm_spec_lines[2])
# Reset IO stream and re-read into a single string for easy writing
- # noinspection RubyNilAnalysis
ghfm_spec_txt_uri_io.seek(0)
ghfm_spec_string = ghfm_spec_txt_uri_io.read
raise "Unable to read string from #{GHFM_SPEC_TXT_URI}" unless ghfm_spec_string
@@ -268,9 +267,7 @@ module Glfm
end
# NOTE: body, title, and version are used by the ERB binding.
- # noinspection RubyUnusedLocalVariable
def add_styling_to_specification_html(body:, title:, version:)
- # noinspection RubyMismatchedArgumentType
ERB.new(File.read(File.expand_path('specification_html_template.erb', __dir__))).result(binding)
end