github-activity-counter
github-activity-counter copied to clipboard
use strict bash variable references
right now when any $VARIABLE is not set, it will not fail and use empty string.
either:
- use
set -u, or - use each reference as
"${VARIABLE:? VARIABLE not set}"
this will ensure when something is not set, it will be very easy to debug.