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-19 03:07:13 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-07-19 03:07:13 +0300
commita94adeb6b2b212e824d1bbce5da16ecd7d1b5a20 (patch)
tree6d5be7275e6f5aec9888758b81318cb8648c3c17 /scripts/lint-docs-blueprints.rb
parent355a4a17ebbeb246e48954462163577ae77f45c0 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/lint-docs-blueprints.rb')
-rwxr-xr-xscripts/lint-docs-blueprints.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lint-docs-blueprints.rb b/scripts/lint-docs-blueprints.rb
index d0a0a6a05de..f3c60a45fda 100755
--- a/scripts/lint-docs-blueprints.rb
+++ b/scripts/lint-docs-blueprints.rb
@@ -4,7 +4,7 @@
# Taken from Jekyll
# https://github.com/jekyll/jekyll/blob/3.5-stable/lib/jekyll/document.rb#L13
-YAML_FRONT_MATTER_REGEXP = /\A(---\s*\n.*?\n?)^((---|\.\.\.)\s*$\n?)/m.freeze
+YAML_FRONT_MATTER_REGEXP = /\A(---\s*\n.*?\n?)^((---|\.\.\.)\s*$\n?)/m
READ_LIMIT_BYTES = 1024
require 'yaml'