We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 113c243 commit 52ee0a2Copy full SHA for 52ee0a2
scripts/replace-variables.sh
@@ -138,10 +138,6 @@ done
138
139
# Substitute optional variables only when they have a non-empty value
140
for varname in $optional_list; do
141
- # Skip empty or unset optional vars (leave placeholder intact)
142
- if [[ -z "${!varname+x}" || -z "${!varname}" ]]; then
143
- continue
144
- fi
145
value="${!varname}"
146
if [[ "$ADD_QUOTES" == "true" ]]; then
147
output=$(echo "$output" | sed 's|{{'"$varname"'}}|'"\"$value\""'|g')
0 commit comments