Skip to content

Commit 5d5e9e9

Browse files
committed
chore: updated readme about husky use
Signed-off-by: prisis <[email protected]>
1 parent e5cd913 commit 5d5e9e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/commitlint-config/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ npx husky add .husky/commit-msg 'pnpm commitlint --edit "${1}"'
135135
And for `package.json`:
136136

137137
```bash
138-
pnpm pkg set scripts.prepare="is-ci || husky install"
138+
pnpm pkg set scripts.prepare="is-ci || husky install || exit 0"
139139
```
140140

141141
> For `npm` users, replace `pnpm` with `npm` in the above command.

0 commit comments

Comments
 (0)