mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
💬 Pre-commit hook : change message to avoid confusions
"push" is a git verb, so changed it to "add" instead
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user