From 70ca1f4f52a340ff0d1b5cc234152636656f76c8 Mon Sep 17 00:00:00 2001 From: Patrick McAndrew Date: Mon, 28 Feb 2022 08:56:13 +0000 Subject: [PATCH] docs: adjust example to a valid husky prepare-commit-msg command (#908) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 89d83683..920083be 100644 --- a/README.md +++ b/README.md @@ -160,7 +160,7 @@ For `husky` users, add the following configuration to the project's `package.jso ```json "husky": { "hooks": { - "prepare-commit-msg": "exec < /dev/tty && git cz --hook || true" + "prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true" } } ```