From 52dfc808246b04a7c89b96251f0f6283ea4c67a7 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 12 Jul 2018 20:20:14 +0200 Subject: [PATCH] Uniform return statement --- Hooks/logging.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Hooks/logging.sh b/Hooks/logging.sh index ba565ae..4a7dce0 100644 --- a/Hooks/logging.sh +++ b/Hooks/logging.sh @@ -16,4 +16,5 @@ if [[ "$FILE" =~ ^.+(js)$ ]]; then echo -e "\e[1;33m\tWarning, the commit contains a call to console.log() in '$FILE'. Commit was not aborted, however.\e[0m" >&2 fi fi -done + +done || exit $? \ No newline at end of file