refactor: remove use_xml_format (#1535)

This commit is contained in:
yetone
2025-03-09 14:58:30 +08:00
committed by GitHub
parent 510bf2ff35
commit 868c136574
17 changed files with 75 additions and 102 deletions

View File

@@ -1,4 +1,3 @@
{%- if use_xml_format -%}
{%- if diagnostics -%}
<diagnostic_field_description>
content: The diagnostic content
@@ -11,16 +10,3 @@ source: The source of the diagnostic
{{diagnostics}}
</diagnostics>
{%- endif %}
{%- else -%}
{%- if diagnostics -%}
DIAGNOSTIC_FIELD_DESCRIPTION:
content: The diagnostic content
start_line: The starting line of the diagnostic (1-indexed)
end_line: The final line of the diagnostic (1-indexed)
severity: The severity of the diagnostic
source: The source of the diagnostic
DIAGNOSTICS:
{{diagnostics}}
{%- endif %}
{%- endif %}