From cfc45075310838c5ebf2e10fa0d52df899ff444f Mon Sep 17 00:00:00 2001 From: johnlk Date: Sun, 14 Apr 2024 22:27:15 -0400 Subject: [PATCH] More testing --- src/github.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/github.sh b/src/github.sh index 55fdca8..d34d5f3 100644 --- a/src/github.sh +++ b/src/github.sh @@ -29,7 +29,11 @@ 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 @@ -37,6 +41,9 @@ github::calculate_total_modifications() { done if [ "$ignore" = false ]; then + echo "$(_jq '.additions')" + echo "$(_jq '.deletions')" + ((additions += $(_jq '.additions'))) if [ "$ignore_file_deletions" != "true" ]; then