make it mandatory
This commit is contained in:
parent
94db7760e2
commit
a6eb7b8056
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ ROOT_DIR=\$(git rev-parse --show-toplevel)
|
||||||
export PATH="\\\$PATH:\\\$ROOT_DIR/.tools"
|
export PATH="\\\$PATH:\\\$ROOT_DIR/.tools"
|
||||||
|
|
||||||
# Lancer le check de formatage
|
# Lancer le check de formatage
|
||||||
"\\\$ROOT_DIR/.tools/format_code.sh" --dry-run --verbose --modified-only || exit 1
|
"\\\$ROOT_DIR/.tools/format_code.sh" --verbose --modified-only || exit 1
|
||||||
|
|
||||||
# Vérifier les modifications non poussées
|
# Vérifier les modifications non poussées
|
||||||
git diff --cached --quiet || {
|
git diff --cached --quiet || {
|
||||||
|
|
Loading…
Reference in a new issue