mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 11:48:40 +00:00
Fix error message
This commit is contained in:
parent
8409b5026f
commit
3cd6b6af54
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user