Skip to content

Commit

Permalink
Fingers crossed
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlk committed Apr 14, 2024
1 parent c61b69c commit 494438e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ github::calculate_total_modifications() {
add=$(_jq '.additions')
del=$(_jq '.deletions')

((additions += add))
additions=$((additions + add))

if [ "$ignore_file_deletions" != "true" ]; then
((deletions += del))
deletions=$((deletions + del))
fi
fi
done
Expand Down

0 comments on commit 494438e

Please sign in to comment.