From 4fc2d8547fe1636179cfdd3f2b7195fed2a37913 Mon Sep 17 00:00:00 2001 From: Corbin Bartsch Date: Sat, 28 Oct 2023 14:08:01 -0400 Subject: [PATCH] Attempt to fix newline before `image` templating --- templates/docker-compose.yml.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index f5db8f0..6bb89c5 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -3,7 +3,8 @@ services: {% for container in containers %} {% if container.active %} - {{ container.service_name }}:{% if container.anchor is defined %} &{{ container.anchor }}{% endif %} + {{ container.service_name }}:{% if container.anchor is defined %} &{{ container.anchor }} +{% endif %} {% if container.fragment is defined %} <<: *{{ container.fragment }} {% else %}