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