Skip to content

Commit b5e00ba

Browse files
authored
docs: simple-git-hooks requires npx or yarn to run in README (#191)
1 parent 9e7fa5d commit b5e00ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ yarn add -D simple-git-hooks
5959

6060
In `package.json`, add:
6161

62-
```json
62+
```jsonc
6363
"simple-git-hooks": {
64-
"pre-commit": "pretty-quick --staged"
64+
"pre-commit": "yarn pretty-quick --staged" // or "npx pretty-quick --staged"
6565
}
6666
```
6767

0 commit comments

Comments
 (0)