Skip to content

Commit

Permalink
Merge pull request #94 from bentastic27/explode-yaml-before-merge
Browse files Browse the repository at this point in the history
Explode yaml before merge
  • Loading branch information
bjohnso5 authored Jul 17, 2024
2 parents 6fb32db + faf5c4a commit b493ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/generate-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function generateConfig() {
# shellcheck disable=SC2154,SC2016
< "${PARAM_CONFIG_LIST_PATH}" \
awk 'NF {$1=$1; printf "\"%s\" ", $0}' \
| xargs yq eval-all '. as $item ireduce ({}; . * $item )' \
| xargs yq eval-all 'explode(.) | . as $item ireduce ({}; . * $item )' \
| tee "${PARAM_GENERATED_CONFIG_PATH}"
}

Expand Down

0 comments on commit b493ba3

Please sign in to comment.