diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2019-02-27 19:18:55 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2019-02-27 19:18:55 +0100 |
commit | bf4da46633ce3682339ea01bf18c98562fa04c5d (patch) | |
tree | 40fa6cc283d38b704e3d5144d6822474cbcd2075 /roles/git | |
parent | e2e7cad558fda2d58d91a18c1ad074cb6da39828 (diff) | |
download | Ansible-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-x | roles/git/files/config_files/git/templates_fretlink/hooks/pre-push | 8 |
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 | ||
3 | echo "[+] Running the linter" | 3 | echo "[+] Running the linter" |
4 | make lint | 4 | make -q lint |
5 | output=$? | 5 | output=$? |
6 | 6 | ||
7 | if [ "$output" = 1 ]; then | 7 | if [ "$output" = "2" ]; then |
8 | exit 1 | ||
9 | else | ||
10 | exit 0 | 8 | exit 0 |
9 | else | ||
10 | make lint | ||
11 | fi | 11 | fi |