From 04ffcf668faf49f62da56c0f7cb355e2a1b10376 Mon Sep 17 00:00:00 2001 From: rishabhpoddar Date: Fri, 25 Oct 2024 12:08:39 +0530 Subject: [PATCH] undoes temp change for pre commit hook --- hooks/pre-commit.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/pre-commit.sh b/hooks/pre-commit.sh index 9d1e1bffa..a18e7c13e 100755 --- a/hooks/pre-commit.sh +++ b/hooks/pre-commit.sh @@ -21,7 +21,7 @@ then git stash push -k -u -- ${files_to_stash} >/dev/null 2>/dev/null fi -make check-lint +make check-lint >/dev/null 2>/dev/null linted=$? echo "$(tput setaf 3)* Properly linted?$(tput sgr 0)" @@ -36,7 +36,7 @@ else fi -make format +make format >/dev/null 2>/dev/null formatted=`git ls-files . --exclude-standard --others -m | wc -l` echo "$(tput setaf 3)* Properly formatted?$(tput sgr 0)"