From 3cd6b6af5430d6aee382308ce9cfb8e6016cd4c8 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 29 Jul 2018 22:02:49 +0200 Subject: [PATCH] Fix error message --- Hooks/syntax.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Hooks/syntax.sh b/Hooks/syntax.sh index 8e218cc..5a67f81 100644 --- a/Hooks/syntax.sh +++ b/Hooks/syntax.sh @@ -73,7 +73,7 @@ if [[ "$FILE" =~ ^.+(tpl\.php|html)$ ]]; then # Inline css is invalid *warning* if [[ -n $(grep -P '(style=)' $FILE) ]]; then - echo -e "\e[1;31m\tFound missing form element action, method or id.\e[0m" >&2 + echo -e "\e[1;31m\tFound inline styles.\e[0m" >&2 grep -P '(style=)' $FILE >&2 fi