diff --git a/generate-badge.sh b/generate-badge.sh index 11a1049..594390d 100755 --- a/generate-badge.sh +++ b/generate-badge.sh @@ -43,6 +43,7 @@ if [ "$Excld" != '[]' ]; then fi Count=$(hoc -d "$Dir" ${Exclude:+${Exclude[@]}} -s "$Since" -b "$Before" -f "int") +echo "Hits of code: $Count" if [ "$Rounding" == "K" ]; then Count="$(python -c "print(round($Count/1000, 1))")K" elif [ "$Rounding" == "M" ]; then Count="$(python -c "print(round($Count/1000000, 1))")M"