summaryrefslogtreecommitdiff
path: root/roles/git/files/config_files/git/templates_fretlink/hooks/pre-push
diff options
context:
space:
mode:
Diffstat (limited to 'roles/git/files/config_files/git/templates_fretlink/hooks/pre-push')
-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