Skip to content

Commit 81d611e

Browse files
committed
docs: add double hyphen to npm husky command in setup guide
1 parent be7bbca commit 81d611e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/local-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ npx husky install
3636
# Add commit message linting to commit-msg hook
3737
echo "npx --no -- commitlint --edit \$1" > .husky/commit-msg
3838
# Windows users should use ` to escape dollar signs
39-
echo "npx --no commitlint --edit `$1" > .husky/commit-msg
39+
echo "npx --no -- commitlint --edit `$1" > .husky/commit-msg
4040
```
4141
4242
As an alternative you can create a script inside `package.json`

0 commit comments

Comments
 (0)