Add a --count flag that prints how many checks ran #31

Open
kami wants to merge 4 commits from orchestra/06G4WJ9T4F35NZC4Z8QQXM9Z6G into master
Showing only changes of commit 5703966881 - Show all commits
+4
View File
@@ -179,6 +179,10 @@ main() {
emit "$format" 'healthchecks: %sms\n' "$elapsed"
fi
if [ -n "$count" ]; then
emit "$format" 'checks: %s\n' "$TOTAL"
fi
emit "$format" '%s\n' "$SUCCESS_MESSAGE"
exit 0
}