Commit be9be57a authored by Ronan Abhamon's avatar Ronan Abhamon

fix(pre-commit): do not execute scripts with sh

parent 986bbddd
#!/usr/bin/env bash #!/usr/bin/env bash
# Check QML files, quit on failure. # Check QML files, quit on failure.
sh './tools/check_qml_syntax' './tools/check_qml_syntax'
if [[ $? != 0 ]] ; then if [[ $? != 0 ]] ; then
exit 1 exit 1
...@@ -10,6 +10,6 @@ fi ...@@ -10,6 +10,6 @@ fi
printf '\n' printf '\n'
# Run unit tests. # Run unit tests.
sh './tools/test_qml' './tools/test_qml'
exit $? exit $?
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment