From e8b587e4e9936ee897ce6cc5ea0f50c77424b68c Mon Sep 17 00:00:00 2001 From: Robert Rossmann Date: Tue, 5 Mar 2019 15:31:20 +0100 Subject: [PATCH] chore: update commit-msg hook to be proper Shell --- utils/githooks/commit-msg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/githooks/commit-msg b/utils/githooks/commit-msg index 5c13b08..f8c689b 100755 --- a/utils/githooks/commit-msg +++ b/utils/githooks/commit-msg @@ -4,4 +4,4 @@ # This is necessary to facilitate automated package publishing. # This utility's configuration resides in .commitlintrc.js file. -echo "$(<"$1")" | ./node_modules/.bin/commitlint +./node_modules/.bin/commitlint < "$1"