mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-03 22:43:43 +01:00
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`
This commit is contained in:
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…
Reference in a new issue