@@ -2,8 +2,8 @@
- id: shellharden
name: Shell Syntax Check
- description: "Runs https://github.com/anordal/shellharden on shell scripts."
+ description: "Runs https://github.com/anordal/shellharden on bash scripts."
entry: pre_commit_hooks/shellharden.sh
language: script
types:
- - shell
+ - bash
@@ -11,7 +11,7 @@ if ! hash shellharden 2>/dev/null; then
exit 78
fi
-echo "$@"
+echo "# $@ #"
exit 1
shellharden --check "$@"