Browse Source

missing fi

Robert Kosten 2 years ago
parent
commit
5c701e6e72
1 changed files with 1 additions and 2 deletions
  1. 1 2
      pre_commit_hooks/shellharden.sh

+ 1 - 2
pre_commit_hooks/shellharden.sh

@@ -4,6 +4,7 @@ set -eu -o pipefail
 DEBUG=${DEBUG:=0}
 if [[ "$DEBUG" = "1" ]]; then
   set -o xtrace
+fi
 
 if ! hash shellharden 2>/dev/null; then
   cat <<< "[ERROR] 'shellharden' not found." 1>&2;
@@ -14,5 +15,3 @@ echo "$@"
 exit 1
 
 shellharden --check "$@"
-
-