From 47bbd50a222a2f0d477863ce9de6982cc5fc8fd3 Mon Sep 17 00:00:00 2001 From: Paul Bonaud Date: Tue, 24 Mar 2020 20:02:57 +0100 Subject: [PATCH] fix: there was a bug in the generate env file Bug Introduced by #57 because the `to_json` filter quotes the given value if it's a string, so the PR was "double quoting" each values. --- templates/env.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/env.j2 b/templates/env.j2 index 66e5508..30bda82 100644 --- a/templates/env.j2 +++ b/templates/env.j2 @@ -1,9 +1,9 @@ {% for key, value in (clever_base_env | combine(clever_env)).items() %} -{{ key }}="{{ value | to_json }}" +{{ key }}={{ value | to_json }} {% endfor %} {%- if clever_haskell_entry_point %} {# Haskell only #} {# https://www.clever-cloud.com/doc/get-help/reference-environment-variables/#haskell #} -CC_RUN_COMMAND="{{'~/.local/bin/' + clever_haskell_entry_point | to_json }}" +CC_RUN_COMMAND={{'~/.local/bin/' + clever_haskell_entry_point | to_json }} {% endif %} -- 2.41.0