From 2823b2b53dee4c6580b7e046ed8c1e876c5887fd Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sat, 25 Feb 2017 17:15:18 +0100 Subject: [PATCH] Make githook less chatty --- .githooks/pre-commit/check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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