From 191891ac35cf07a8de41b80f119665a9153f3aa4 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Fri, 10 Sep 2021 08:38:53 +0200 Subject: [PATCH] :speech_balloon: Pre-commit hook : change message to avoid confusions "push" is a git verb, so changed it to "add" instead --- .make/git-hooks/pre-commit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.make/git-hooks/pre-commit.php b/.make/git-hooks/pre-commit.php index 543b51150..43322fa9c 100644 --- a/.make/git-hooks/pre-commit.php +++ b/.make/git-hooks/pre-commit.php @@ -17,7 +17,7 @@ if (count($aScssFiles) === 0) { $aCssFiles = GetFilesWithExtension('css', $aFilesToCommit); if (count($aCssFiles) === 0) { echo "There are SCSS files staged but no CSS file : REJECTING commit.\n"; - echo "You must push the compiled SCSS files by running the setup !\n"; + echo "You must add the compiled SCSS files by running the setup !\n"; exit(1); }