Skip to content

Commit

Permalink
Fixed generated xpath
Browse files Browse the repository at this point in the history
Signed-off-by: romanodanilo <[email protected]>
  • Loading branch information
romanodanilo committed Aug 2, 2024
1 parent 98248a5 commit a3d9843
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def check_rule(checker_data: models.CheckerData) -> None:
not sm_state.is_completed and len(sm_state.target_state_ids) == 0
)
if has_issue:
current_xpath = tree.getpath(sm_state.xml_element)
current_xpath = tree.getelementpath(sm_state.xml_element)
issue_id = checker_data.result.register_issue(
checker_bundle_name=constants.BUNDLE_NAME,
checker_id=state_machine_constants.CHECKER_ID,
Expand Down

0 comments on commit a3d9843

Please sign in to comment.