Hotfix for non-GNU awk on macOS

This commit is contained in:
Tom Ice 2020-05-10 15:10:30 -04:00
parent 63eba9f1b8
commit 6692ec8aa3

View file

@ -288,7 +288,7 @@ function detailedGitStats() {
(more["total"] + less["total"]) * 100)
}
else {
printf "\t lines changed: %d\t(0%)\n", more[author] + less[author]
printf "\t lines changed: %d\t(0%%)\n", (more[author] + less[author])
}
printf "\t first commit: %s\n", first[author]
printf "\t last commit: %s\n", last[author]