Create travis build+pull out to functions

This commit is contained in:
Dennis Eichhorn 2018-08-11 11:07:30 +02:00
parent 8443c22066
commit 1ee10359de

View File

@ -11,7 +11,7 @@ git diff --cached --name-only | while read FILE; do
fi
# Filename
if [[ ! $(isValidFileName "$FILE") = 1 ]]; then
if [[ ! $(isValidFileName "$FILE") ]]; then
echo -e "\e[1;31m\tInvalid file name.\e[0m" >&2
exit 1
fi