From 3793a11fbfec4bf6d9473def0279c53353928b57 Mon Sep 17 00:00:00 2001 From: Michael Wolf Date: Sat, 30 Sep 2023 17:21:23 -0600 Subject: [PATCH] Use set -e This is annoying because a lot of times a command will "fail" even though "failure" isn't an exceptional condition. --- would-reformat.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/would-reformat.sh b/would-reformat.sh index 12c9aee..c03e457 100755 --- a/would-reformat.sh +++ b/would-reformat.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -uo pipefail +set -euo pipefail IFS=$'\n\t' DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"