mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Make githook less chatty
This commit is contained in:
parent
22a2f084a1
commit
2823b2b53d
@ -57,7 +57,7 @@ if [ "$FILES" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# If flow terminated with errors, abort commit
|
# If flow terminated with errors, abort commit
|
||||||
npm run flow --silent
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user