aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorey Prophitt <git@prophitt.me>2022-08-25 01:39:36 +0000
committerCorey Prophitt <git@prophitt.me>2022-08-25 01:39:36 +0000
commit3ebac2bb9a8a6a8149160b730b3b134c864c7c04 (patch)
treed5a25d96066f5c5e00efc7f80b78ed75961e9789
parentbe0a7c2c127fcd126851882e911b00f97bb12522 (diff)
downloadprophitt.me-3ebac2bb9a8a6a8149160b730b3b134c864c7c04.tar.gz
prophitt.me-3ebac2bb9a8a6a8149160b730b3b134c864c7c04.zip
Fixed a typo in the pre-commit script
-rwxr-xr-xconfig/development/githooks/pre-commit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/development/githooks/pre-commit.sh b/config/development/githooks/pre-commit.sh
index 60c0a9d..b92198a 100755
--- a/config/development/githooks/pre-commit.sh
+++ b/config/development/githooks/pre-commit.sh
@@ -11,7 +11,7 @@ fi
11 11
12for FILE in `git diff-index --name-status --cached $against -- | cut -c3-` ; do 12for FILE in `git diff-index --name-status --cached $against -- | cut -c3-` ; do
13 if grep -E $LIST $FILE; then 13 if grep -E $LIST $FILE; then
14 echo $FILE." has one of the word you don't want to commit. Please remove it" 14 echo $FILE." has one of the word(s) you don't want to commit. Please remove it"
15 exit 1 15 exit 1
16 fi 16 fi
17done 17done