From ccf09b3e6c250e860a4a8a90cb6f4cf271e4f2b4 Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Thu, 22 May 2014 18:57:14 +0200 Subject: [PATCH] Only check styles syntax using new "styleshint" target. --- src/hooks/pre-commit.hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/pre-commit.hook b/src/hooks/pre-commit.hook index 1c3ae96d..17098f1b 100755 --- a/src/hooks/pre-commit.hook +++ b/src/hooks/pre-commit.hook @@ -34,7 +34,7 @@ for file in `git diff-index --cached --name-only HEAD --diff-filter=ACMR| grep " done if [ "${check_styles}" = "1" ]; then - make styles + make styleshint r=$? if [ $r != 0 ] ; then echo "================================================================================================="