Skip to content

Commit 04545fa

Browse files
authored
refactor(semantic-conventions): tweak the leading spacing of comments on enum values (#5688)
1 parent baec0a3 commit 04545fa

File tree

3 files changed

+1419
-1419
lines changed

3 files changed

+1419
-1419
lines changed

scripts/semconv/templates/registry/stable/attributes.ts.j2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ export const ATTR_{{ attribute.name | screaming_snake_case }} = (key: string) =>
3333
{% if attribute.type is mapping %}
3434
{% for espec in attribute.type.members | sort(attribute='value') %}
3535
/**
36-
* Enum value {{ espec.value | print_member_value }} for attribute {@link ATTR_{{ attribute.name | screaming_snake_case }}}.
37-
*/
36+
* Enum value {{ espec.value | print_member_value }} for attribute {@link ATTR_{{ attribute.name | screaming_snake_case }}}.
37+
*/
3838
export const {{ attribute.name | screaming_snake_case }}_VALUE_{{ espec.id | screaming_snake_case }} = {{ espec.value | print_member_value }} as const;
3939

4040
{% endfor %}
4141
{% endif %}
4242
{% endif %}
43-
{% endfor %}
43+
{% endfor %}

0 commit comments

Comments
 (0)