Skip to content

Commit 10a7447

Browse files
authored
docs: fixed shell substitutions in local setup guide (#2512)
1 parent 31d507e commit 10a7447

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guides-local-setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ npx husky install
3333
yarn husky install
3434

3535
# Add hook
36-
npx husky add .husky/commit-msg "npx --no-install commitlint --edit $1"
36+
npx husky add .husky/commit-msg 'npx --no-install commitlint --edit $1'
3737
# or
38-
yarn husky add .husky/commit-msg "yarn commitlint --edit $1"
38+
yarn husky add .husky/commit-msg 'yarn commitlint --edit $1'
3939
```
4040

4141
If the file `.husky/commit-msg` already exists, you can edit the file and put this:

0 commit comments

Comments
 (0)