feat(aa): update templates to last changes.

This commit is contained in:
Alexandre Pujol 2024-06-19 23:31:22 +01:00
parent 944f9575a0
commit 7317c05646
Failed to generate hash of commit
3 changed files with 8 additions and 1 deletions

View file

@ -7,7 +7,7 @@
{{- if .IsLineRule }} {{- if .IsLineRule }}
{{- "#" -}} {{- "#" -}}
{{- else -}} {{- else -}}
{{- " #" -}} {{- " #" -}}
{{- end -}} {{- end -}}
{{- if .FileInherit -}} {{- if .FileInherit -}}
{{- " file_inherit" -}} {{- " file_inherit" -}}

View file

@ -19,6 +19,9 @@
{{ " -> " }}{{ . }} {{ " -> " }}{{ . }}
{{- end -}} {{- end -}}
{{- "," -}} {{- "," -}}
{{- with .Suffix -}}
{{ . }}
{{- end -}}
{{- template "comment" . -}} {{- template "comment" . -}}
{{- end -}} {{- end -}}
@ -37,5 +40,8 @@
{{ "-> " }}{{ . }} {{ "-> " }}{{ . }}
{{- end -}} {{- end -}}
{{- "," -}} {{- "," -}}
{{- with .Suffix -}}
{{ . }}
{{- end -}}
{{- template "comment" . -}} {{- template "comment" . -}}
{{- end -}} {{- end -}}

View file

@ -12,6 +12,7 @@
{{- continue -}} {{- continue -}}
{{- end -}} {{- end -}}
{{- if eq $kind "comment" -}} {{- if eq $kind "comment" -}}
{{- indent "" -}}
{{- template "comment" . -}} {{- template "comment" . -}}
{{- "\n" -}} {{- "\n" -}}
{{- continue -}} {{- continue -}}