Add explanation to format.sh
This commit is contained in:
parent
f45126f371
commit
05e6ef2650
1 changed files with 4 additions and 0 deletions
|
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# This script processes all files in the data directory using jq to:
|
||||||
|
# - Ensure all JSON files are formatted correctly with tabs
|
||||||
|
# - Catch any JSON files with syntax errors and log them to error.log for fixing
|
||||||
|
|
||||||
# Remove any existing error log
|
# Remove any existing error log
|
||||||
rm -f error.log
|
rm -f error.log
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue