From 0e00e27488de08992adfedf6fad16b12f21d93cd Mon Sep 17 00:00:00 2001 From: Vijay A Date: Tue, 17 Aug 2021 05:23:33 +0530 Subject: fix: trying to make commitizen work without interactive terminal when it runs in CI [skip ci] --- .husky/prepare-commit-msg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.husky/prepare-commit-msg') diff --git a/.husky/prepare-commit-msg b/.husky/prepare-commit-msg index 1c2c393cd..0c2aa2281 100755 --- a/.husky/prepare-commit-msg +++ b/.husky/prepare-commit-msg @@ -6,5 +6,5 @@ FILE_NAME="$(dirname "$0")/_/husky.sh" if [ -f $FILE_NAME ]; then . $FILE_NAME - exec < /dev/tty && git cz --hook || true + ( exec < /dev/tty && git cz --hook ) || true fi -- cgit v1.2.3-70-g09d2