Skip to content

Commit 70ca1f4

Browse files
authored
docs: adjust example to a valid husky prepare-commit-msg command (#908)
1 parent fcc85e5 commit 70ca1f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ For `husky` users, add the following configuration to the project's `package.jso
160160
```json
161161
"husky": {
162162
"hooks": {
163-
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
163+
"prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true"
164164
}
165165
}
166166
```

0 commit comments

Comments
 (0)