mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-24 07:30:12 +01:00
Correct indentation [ci skip]
This commit is contained in:
parent
c6e5159cc6
commit
ac2f924dad
@ -31,7 +31,7 @@ function cleanup {
|
|||||||
git apply "$PATCH_FILE" 2> /dev/null
|
git apply "$PATCH_FILE" 2> /dev/null
|
||||||
rm "$PATCH_FILE"
|
rm "$PATCH_FILE"
|
||||||
fi
|
fi
|
||||||
exit $EXIT_CODE
|
exit $EXIT_CODE
|
||||||
}
|
}
|
||||||
|
|
||||||
# Register signal handlers
|
# Register signal handlers
|
||||||
@ -51,7 +51,7 @@ if [ "$FILES" ]; then
|
|||||||
# If linter terminated with errors, abort commit
|
# If linter terminated with errors, abort commit
|
||||||
if [ $? -gt 0 ]; then
|
if [ $? -gt 0 ]; then
|
||||||
echo -e "\x1B[31m✗\x1B[0m Linter - \x1B[31m$MESSAGE\x1B[0m"
|
echo -e "\x1B[31m✗\x1B[0m Linter - \x1B[31m$MESSAGE\x1B[0m"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo -e "\x1B[32m✓\x1B[0m Linter"
|
echo -e "\x1B[32m✓\x1B[0m Linter"
|
||||||
fi
|
fi
|
||||||
@ -60,7 +60,7 @@ if [ "$FILES" ]; then
|
|||||||
npm run flow --silent > /dev/null
|
npm run flow --silent > /dev/null
|
||||||
if [ $? -gt 0 ]; then
|
if [ $? -gt 0 ]; then
|
||||||
echo -e "\x1B[31m✗\x1B[0m Flow - \x1B[31m$MESSAGE\x1B[0m"
|
echo -e "\x1B[31m✗\x1B[0m Flow - \x1B[31m$MESSAGE\x1B[0m"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo -e "\x1B[32m✓\x1B[0m Flow"
|
echo -e "\x1B[32m✓\x1B[0m Flow"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user