fix: Update rules_path to "sonar-rspec" for consistency

This commit is contained in:
bobo 2024-07-01 21:27:58 +08:00
parent 89d19679f5
commit d8d1c34406

View File

@ -372,7 +372,7 @@ def get_rule_description(issue_description):
issue_language = issue_code.split(':')[0]
tools_path = IDEService().get_extension_tools_path()
rules_path = "sonar_respec"
rules_path = "sonar-rspec"
rule_path = os.path.join(tools_path, rules_path, "rules", issue_id, issue_language, "rule.adoc")
if os.path.exists(rule_path):