github-activity-counter icon indicating copy to clipboard operation
github-activity-counter copied to clipboard

use strict bash variable references

Open ahmetb opened this issue 6 years ago • 0 comments

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.

ahmetb avatar Oct 28 '19 05:10 ahmetb