💬 Pre-commit hook : change message to avoid confusions

"push" is a git verb, so changed it to "add" instead
This commit is contained in:
Pierre Goiffon
2021-09-10 08:38:53 +02:00
parent f171380396
commit 191891ac35

View File

@@ -17,7 +17,7 @@ if (count($aScssFiles) === 0) {
$aCssFiles = GetFilesWithExtension('css', $aFilesToCommit); $aCssFiles = GetFilesWithExtension('css', $aFilesToCommit);
if (count($aCssFiles) === 0) { if (count($aCssFiles) === 0) {
echo "There are SCSS files staged but no CSS file : REJECTING commit.\n"; 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); exit(1);
} }