Skip to content

Commit

Permalink
More testing
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlk committed Apr 15, 2024
1 parent 07fc5b5 commit cfc4507
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,21 @@ github::calculate_total_modifications() {
filename=$(_jq '.filename')
ignore=false

echo "$filename"

for pattern in $files_to_ignore; do
echo "$pattern"

if [[ $filename == $pattern ]]; then
ignore=true
break
fi
done

if [ "$ignore" = false ]; then
echo "$(_jq '.additions')"
echo "$(_jq '.deletions')"

((additions += $(_jq '.additions')))

if [ "$ignore_file_deletions" != "true" ]; then
Expand Down

0 comments on commit cfc4507

Please sign in to comment.