Fix edge case for DocumentationLinks linter
Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/358703 **Problem** Code that ends with a `do` block definition is ignored by parser. The linter can skip some of broken links because of that. **Solution** Add a workaround for this case.
显示
- app/views/groups/milestones/index.html.haml 2 个添加, 2 个删除app/views/groups/milestones/index.html.haml
- haml_lint/linter/documentation_links.rb 9 个添加, 1 个删除haml_lint/linter/documentation_links.rb
- spec/haml_lint/linter/documentation_links_spec.rb 6 个添加, 0 个删除spec/haml_lint/linter/documentation_links_spec.rb
加载中
想要评论请 注册 或 登录