From 8862eb7d0f099135710427d2ef7cddef92f1c014 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 25 Sep 2017 13:13:21 +0200 Subject: [PATCH] Update logging.sh --- Hooks/logging.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Hooks/logging.sh b/Hooks/logging.sh index d696c5b..6eae526 100644 --- a/Hooks/logging.sh +++ b/Hooks/logging.sh @@ -11,7 +11,7 @@ git diff --cached --name-only | while read FILE; do if [[ "$FILE" =~ ^.+(php|js)$ ]]; then RESULT=$(grep "console.log(" "$FILE") if [ ! -z $RESULT ]; then - echo -e "\e[1;33m\tWarning, the commit contains a call to var_dump(). Commit was not aborted, however.\e[0m" >&2 + echo -e "\e[1;33m\tWarning, the commit contains a call to console.log(). Commit was not aborted, however.\e[0m" >&2 fi fi done