mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 11:48:40 +00:00
Fix whitespace bug
This commit is contained in:
parent
4c672a7ada
commit
180ec55f29
|
|
@ -38,7 +38,7 @@ git diff --cached --name-only | while read FILE; do
|
|||
|
||||
# Syntax
|
||||
if [[ "$FILE" =~ ^.+(php)$ ]]; then
|
||||
PHP_SYNTAX = $(hasInvalidPhpSyntax "$FILE")
|
||||
PHP_SYNTAX=$(hasInvalidPhpSyntax "$FILE")
|
||||
|
||||
if [[ $PHP_SYNTAX = 1 ]]; then
|
||||
echo -e "\e[1;31m\tPhp linting error.\e[0m" >&2
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ echo $rootpath
|
|||
|
||||
# Syntax
|
||||
if [[ "$FILE" =~ ^.+(php)$ ]]; then
|
||||
PHP_SYNTAX = $(hasInvalidPhpSyntax "$FILE")
|
||||
PHP_SYNTAX=$(hasInvalidPhpSyntax "$FILE")
|
||||
|
||||
if [[ $PHP_SYNTAX = 1 ]]; then
|
||||
echo -e "\e[1;31m\tPhp linting error.\e[0m" >&2
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user