Skip to content

Commit f65205b

Browse files
authored
docs: add double hyphen to npm husky command in setup guide (#4490)
1 parent 493129b commit f65205b

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
@@ -39,7 +39,7 @@ npx husky install
3939
# Add commit message linting to commit-msg hook
4040
echo "npx --no -- commitlint --edit \$1" > .husky/commit-msg
4141
# Windows users should use ` to escape dollar signs
42-
echo "npx --no commitlint --edit `$1" > .husky/commit-msg
42+
echo "npx --no -- commitlint --edit `$1" > .husky/commit-msg
4343
```
4444
4545
As an alternative you can create a script inside `package.json`

0 commit comments

Comments
 (0)