From be9be57a38ef67b24a4e67ae8d50dda3a8d8fed3 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 16 Aug 2017 15:22:33 +0200 Subject: [PATCH] fix(pre-commit): do not execute scripts with sh --- tools/private/pre-commit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/private/pre-commit b/tools/private/pre-commit index f54b3429c..79cb3e67f 100755 --- a/tools/private/pre-commit +++ b/tools/private/pre-commit @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Check QML files, quit on failure. -sh './tools/check_qml_syntax' +'./tools/check_qml_syntax' if [[ $? != 0 ]] ; then exit 1 @@ -10,6 +10,6 @@ fi printf '\n' # Run unit tests. -sh './tools/test_qml' +'./tools/test_qml' exit $?