fix: missing handling in overriding config variables

This commit is contained in:
debugtalk
2020-06-15 15:56:00 +08:00
parent b416be1d31
commit 34bbe187eb
2 changed files with 3 additions and 1 deletions

View File

@@ -243,8 +243,9 @@ def override_config_variables(
"""
step_new_variables = {}
for key, value in step_variables.items():
if f"${key}" == value:
if f"${key}" == value or "${" + key + "}" == value:
# e.g. {"base_url": "$base_url"}
# or {"base_url": "${base_url}"}
continue
step_new_variables[key] = value