mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-02-10 08:28:41 +00:00
Test
This commit is contained in:
parent
cbf30514ba
commit
0e59f404bb
|
|
@ -67,6 +67,7 @@ echo $rootpath
|
||||||
if [[ "$FILE" =~ ^.+(sh|js|php|json|css)$ ]]; then
|
if [[ "$FILE" =~ ^.+(sh|js|php|json|css)$ ]]; then
|
||||||
GEN_SYNTAX=$(hasInvalidBasicSyntax "$FILE")
|
GEN_SYNTAX=$(hasInvalidBasicSyntax "$FILE")
|
||||||
echo GEN_SYNTAX
|
echo GEN_SYNTAX
|
||||||
|
exit 1
|
||||||
|
|
||||||
if [[ $GEN_SYNTAX = 1 ]]; then
|
if [[ $GEN_SYNTAX = 1 ]]; then
|
||||||
echo -e "\e[1;31m\tFound whitespace at end of line in $FILE.\e[0m" >&2
|
echo -e "\e[1;31m\tFound whitespace at end of line in $FILE.\e[0m" >&2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user