From 9636a07ccfb2982fb8c30e12b0da8ac3b8db528b Mon Sep 17 00:00:00 2001 From: Vasilii Iakliushin <viakliushin@gitlab.com> Date: Tue, 25 Aug 2020 16:55:46 +0200 Subject: [PATCH] Add a link to the follow-up issue --- haml_lint/linter/documentation_links.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haml_lint/linter/documentation_links.rb b/haml_lint/linter/documentation_links.rb index 9aa30ae91e80..5bee083e9ec8 100644 --- a/haml_lint/linter/documentation_links.rb +++ b/haml_lint/linter/documentation_links.rb @@ -92,7 +92,7 @@ def correct_anchor?(path_to_file, anchor) File.open(path_to_file).any? do |line| result = line.match(MARKDOWN_HEADER) - # TODO:Do an exact match for anchors + # TODO:Do an exact match for anchors (Follow-up https://gitlab.com/gitlab-org/gitlab/-/merge_requests/39850) anchor.start_with?(string_to_anchor(result[:header])) if result end end -- GitLab