Skip to content

Commit

Permalink
undoes temp change for pre commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Oct 25, 2024
1 parent 897588b commit 04ffcf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hooks/pre-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand All @@ -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)"
Expand Down

0 comments on commit 04ffcf6

Please sign in to comment.