mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-24 23:13:42 +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
|
As far as I know we don't have something like Array.concat(), so add them one at a time
|
||||||
*/}}
|
*/}}
|
||||||
{{ range $more_objects}}
|
{{ range $more_objects }}
|
||||||
{{ $additional_objects = $additional_objects | append (partial "clean-object" .) }}
|
{{ $additional_objects = $additional_objects | append . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ return $additional_objects }}
|
{{ return $additional_objects }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue