]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blobdiff - roles/git/files/config_files/git/templates_fretlink/hooks/pre-push
Fix a few strings and configurations, and add a fl_restoreDump script
[perso/Immae/Config/Ansible.git] / roles / git / files / config_files / git / templates_fretlink / hooks / pre-push
index 1197641aeddba57f8ceaa66b140d27b8c2397fc7..e223b1cba05a5547bf826686ea76c2b366412915 100755 (executable)
@@ -1,11 +1,11 @@
 #!/usr/bin/env bash
 
 echo "[+] Running the linter"
-make lint
+make -q lint
 output=$?
 
-if [ "$output" = 1 ]; then
-  exit 1
-else
+if [ "$output" = "2" ]; then
   exit 0
+else
+  make lint
 fi