Skip to content
代码片段 群组 项目
提交 9636a07c 编辑于 作者: Vasilii Iakliushin's avatar Vasilii Iakliushin
浏览文件

Add a link to the follow-up issue

上级 5de16143
No related branches found
No related tags found
加载中
......@@ -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
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册