Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Mar 31, 2024
1 parent dad465b commit a829dfd
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions functions/update_readme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,20 +171,14 @@ count_excluded() {
printf "%s" "$((excluded_count*100/raw_count))"
}

# Function 'format_file' calls a shell wrapper to standardize the format of a file.
# $1: file to format
format_file() {
bash functions/tools.sh format "$1"
}

# Entry point

trap 'find . -maxdepth 1 -type f -name "*.tmp" -delete' EXIT

command -v csvgrep &> /dev/null || pip install -q csvkit # Install csvkit

for file in config/* data/*; do
format_list "$file"
bash functions/tools.sh format "$file"
done

update_readme

0 comments on commit a829dfd

Please sign in to comment.