Skip to content

Commit 095a4fe

Browse files
authored
docs: update how-to.md
1 parent d2e831d commit 095a4fe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/how-to.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ Run the `husky` command once in your repo. Ideally, include it in the `prepare`
225225
}
226226
```
227227

228-
```json [pnpm]
228+
```json [bun]
229229
{
230230
"scripts": {
231231
"prepare": "husky" // [!code hl]
@@ -248,7 +248,8 @@ pnpm run prepare
248248
```
249249

250250
```sh [yarn]
251-
yarn run prepare
251+
# Yarn doesn't support `prepare`
252+
yarn run postinstall
252253
```
253254

254255
```sh [bun]

0 commit comments

Comments
 (0)