Skip to content

Commit

Permalink
pretty print json for better diff
Browse files Browse the repository at this point in the history
  • Loading branch information
nimarion committed Feb 28, 2024
1 parent 7353d0f commit 0912579
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion updateDisciplines.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/bash

curl -o src/disciplines.json --silent --show-error --fail https://worldathletics.pfingstsportfest.de/disciplines
curl -o src/disciplines.json --silent --show-error --fail https://worldathletics.pfingstsportfest.de/disciplines
jq . src/disciplines.json > src/disciplines_pretty.json
rm src/disciplines.json
mv src/disciplines_pretty.json src/disciplines.json

0 comments on commit 0912579

Please sign in to comment.