Skip to content

Commit

Permalink
BC-5468 use flatten
Browse files Browse the repository at this point in the history
  • Loading branch information
UzaeirKhan committed Nov 14, 2023
1 parent 321de2d commit 416aadd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ jobs:
done < <(jq -r 'to_entries | .[] | "\(.key)=\(.value)"' "$file_path")
done
json_output=$(jq -s --compact-output 'to_entries | .[] | "\(.key)=\(.value)"' "${file_paths[@]}")
json_output=$(jq -s --compact-output 'to_entries | .[] | flatten | "\(.key)=\(.value)"' "${file_paths[@]}")
# json_output="{"
# for key in "${!key_value_pairs[@]}"; do
Expand Down

0 comments on commit 416aadd

Please sign in to comment.