Skip to content

Commit

Permalink
BC-5468 use from_entries in jq
Browse files Browse the repository at this point in the history
  • Loading branch information
UzaeirKhan committed Nov 14, 2023
1 parent 58d5f03 commit 9757b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
# done < <(jq -r 'to_entries | .[] | "\(.key)=\(.value)"' "$file_path")
done
json_output=$(jq -n -c 'reduce inputs as $item ({}; . * $item)')
json_output=$(jq -n -c 'from_entries($key_value_pairs)')
# json_output="{"
# for key in "${!key_value_pairs[@]}"; do
Expand Down

0 comments on commit 9757b81

Please sign in to comment.