Skip to content

Commit

Permalink
Rename bin/sort to bin/format
Browse files Browse the repository at this point in the history
  • Loading branch information
garyhtou committed Aug 15, 2024
1 parent bc116be commit aded3f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/sort → bin/format
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
yq '.zones | keys | .[]' config/production.yaml | while read -r zone; do
# For each file...
FILENAME="$zone"yaml
echo -e "\nSorting $FILENAME"
echo -e "\nFormatting $FILENAME"

# Print a diff (if changes are made)
yq -MP 'sort_keys(.)' $FILENAME >$FILENAME.tmp
Expand Down

0 comments on commit aded3f1

Please sign in to comment.