mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-22 16:48:39 +00:00
Add css/scss to general file tests
This commit is contained in:
parent
7f8098c3fa
commit
5d29744ad7
|
|
@ -102,7 +102,7 @@ if [[ "$FILE" =~ ^.+(sh)$ ]]; then
|
|||
fi
|
||||
|
||||
# text files in general
|
||||
if [[ "$FILE" =~ ^.+(sh|js|php|json)$ ]]; then
|
||||
if [[ "$FILE" =~ ^.+(sh|js|php|json|css)$ ]]; then
|
||||
# Check whitespace end of line in code
|
||||
if [[ -n $(grep -E ' $' $FILE) ]]; then
|
||||
echo -e "\e[1;31m\tFound whitespace at end of line.\e[0m" >&2
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user