diff options
Diffstat (limited to 'rubocop/cop/gitlab/doc_url.rb')
-rw-r--r-- | rubocop/cop/gitlab/doc_url.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/gitlab/doc_url.rb b/rubocop/cop/gitlab/doc_url.rb index cbfbdf7eb57..41a1c2f8b36 100644 --- a/rubocop/cop/gitlab/doc_url.rb +++ b/rubocop/cop/gitlab/doc_url.rb @@ -21,7 +21,7 @@ module RuboCop MSG = 'Use `#help_page_url` instead of directly including link. ' \ 'See https://docs.gitlab.com/ee/development/documentation/#linking-to-help-in-ruby.' - DOCS_URL_REGEXP = %r{https://docs.gitlab.com/ee/[\w#%./-]+}.freeze + DOCS_URL_REGEXP = %r{https://docs.gitlab.com/ee/[\w#%./-]+} def on_str(node) match = DOCS_URL_REGEXP.match(node.source) |