Remove redundant call to `clean-object`

We already clean the object when we add it to `$more_objects` (at line 40), so
no need to do it again when copying it to `$additional_objects`
rav/links_for_object_defs
Richard van der Hoff 1 year ago
parent fce771c22a
commit a5b281bf5e

@ -116,8 +116,8 @@
{{/*
As far as I know we don't have something like Array.concat(), so add them one at a time
*/}}
{{ range $more_objects}}
{{ $additional_objects = $additional_objects | append (partial "clean-object" .) }}
{{ range $more_objects }}
{{ $additional_objects = $additional_objects | append . }}
{{ end }}
{{ return $additional_objects }}
{{ end }}

Loading…
Cancel
Save