2
0
forked from Wavyzz/dolibarr

clean code (#35365)

* clean code

* clean code

* clean code

* clean code

* clean code
This commit is contained in:
Frédéric FRANCE
2025-09-17 14:10:48 +02:00
committed by GitHub
parent e0073b000d
commit 612248a9e9
5 changed files with 11 additions and 35 deletions

View File

@@ -5,8 +5,8 @@ commit_msg_file=$1
first_line=$(head -n1 "$commit_msg_file")
if echo "$first_line" | grep -Eq '^(QUAL|SEC|PERF|FIX|CLOSE|NEW|Clean code|Debug v)'; then
exit 0
exit 0
else
echo "Le message de commit doit commencer par QUAL, SEC, PERF, FIX, CLOSE, NEW, Clean code, Debug v..."
exit 1
echo "Le message de commit doit commencer par QUAL, SEC, PERF, FIX, CLOSE, NEW, Clean code, Debug v..."
exit 1
fi