diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-19 03:07:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-19 03:07:13 +0300 |
commit | a94adeb6b2b212e824d1bbce5da16ecd7d1b5a20 (patch) | |
tree | 6d5be7275e6f5aec9888758b81318cb8648c3c17 /scripts/lint-docs-blueprints.rb | |
parent | 355a4a17ebbeb246e48954462163577ae77f45c0 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/lint-docs-blueprints.rb')
-rwxr-xr-x | scripts/lint-docs-blueprints.rb | 2 |
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' |