Skip to content

Commit

Permalink
do the thing
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarbone committed Nov 5, 2024
1 parent 7613685 commit 76e943e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/yaml-to-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,8 @@ _join_by() {
_yaml_keys=()
_env_names=()

_all_fields="$(yq -o p '.' "$YAMLTOENV_YAML_FILE")"
_parse_yq_output "${_all_fields}"

_lines=()
readarray -t _lines <<< "${1}"
readarray -t _lines <<< "$(yq -o p '.' "$YAMLTOENV_YAML_FILE")"

for _line in "${_lines[@]}"; do
if [ -z "${_line}" ]; then
Expand Down

0 comments on commit 76e943e

Please sign in to comment.