Skip to content

Haml linter does not verify all matching entries

Reported here: !59548 (comment 553236273)

Provided code block has multiple entries with help_page_path methods, however NodePattern#match returns and verifies only for first one.

::RuboCop::NodePattern.new(HELP_PATH_LINK_PATTERN).match(ast_tree)

Need to investigate and find the way to return all matching nodes.