This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/main by this push:
     new abf4638cfc Enable "strict mode" for `generate-email.sh`
abf4638cfc is described below

commit abf4638cfca5f11ce478678398bbee80b6b0a552
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Mon Apr 22 20:51:28 2024 +0200

    Enable "strict mode" for `generate-email.sh`
---
 .github/generate-email.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/generate-email.sh b/.github/generate-email.sh
index 17cd36a90c..a041d1a732 100755
--- a/.github/generate-email.sh
+++ b/.github/generate-email.sh
@@ -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() {

Reply via email to