summaryrefslogtreecommitdiff
path: root/roles/git
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2019-02-27 19:18:55 +0100
committerIsmaël Bouya <ismael.bouya@fretlink.com>2019-02-27 19:18:55 +0100
commitbf4da46633ce3682339ea01bf18c98562fa04c5d (patch)
tree40fa6cc283d38b704e3d5144d6822474cbcd2075 /roles/git
parente2e7cad558fda2d58d91a18c1ad074cb6da39828 (diff)
downloadAnsible-bf4da46633ce3682339ea01bf18c98562fa04c5d.tar.gz
Ansible-bf4da46633ce3682339ea01bf18c98562fa04c5d.tar.zst
Ansible-bf4da46633ce3682339ea01bf18c98562fa04c5d.zip
Fix a few strings and configurations, and add a fl_restoreDump script
Diffstat (limited to 'roles/git')
-rwxr-xr-xroles/git/files/config_files/git/templates_fretlink/hooks/pre-push8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/git/files/config_files/git/templates_fretlink/hooks/pre-push b/roles/git/files/config_files/git/templates_fretlink/hooks/pre-push
index 1197641..e223b1c 100755
--- a/roles/git/files/config_files/git/templates_fretlink/hooks/pre-push
+++ b/roles/git/files/config_files/git/templates_fretlink/hooks/pre-push
@@ -1,11 +1,11 @@
1#!/usr/bin/env bash 1#!/usr/bin/env bash
2 2
3echo "[+] Running the linter" 3echo "[+] Running the linter"
4make lint 4make -q lint
5output=$? 5output=$?
6 6
7if [ "$output" = 1 ]; then 7if [ "$output" = "2" ]; then
8 exit 1
9else
10 exit 0 8 exit 0
9else
10 make lint
11fi 11fi