Skip to content

Commit

Permalink
Enable "strict mode" for generate-email.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
vy committed Apr 22, 2024
1 parent b1db50b commit ca0eaf0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/generate-email.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
# limitations under the License.
#

# Enable strict mode
set -euo pipefail
IFS=$'\n\t'

SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)

stderr() {
Expand Down

0 comments on commit ca0eaf0

Please sign in to comment.