diff --git a/.githooks/pre-commit/check.sh b/.githooks/pre-commit/check.sh index 0f8c67c2c..e60ad7cd9 100755 --- a/.githooks/pre-commit/check.sh +++ b/.githooks/pre-commit/check.sh @@ -57,7 +57,7 @@ if [ "$FILES" ]; then fi # If flow terminated with errors, abort commit - npm run flow --silent + npm run flow --silent > /dev/null if [ $? -gt 0 ]; then echo -e "\x1B[31m✗\x1B[0m Flow - \x1B[31m$MESSAGE\x1B[0m" exit 1