Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: husky add .husky/commit-msg docs fix (#3113)
* docs: husky add .husky/commit-msg docs fix Executing ``` npx husky add .husky/commit-msg 'npx --no -- commitlint --edit $1' yarn husky add .husky/commit-msg 'yarn commitlint --edit $1' ``` doesn't seem to produce desired .husky/commit-msg file content ``` . "$(dirname "$0")/_/husky.sh" npx --no -- commitlint --edit $1 ``` instead it produces ``` . "$(dirname "$0")/_/husky.sh" npx --no -- commitlint --edit ``` because $1 is interpolated, adding slash doesn't seem to help, hence suggested fix (fix is bit ugly I admit, up to you guys to accept it or fixing it your way) * docs: linting Co-authored-by: escapedcat <github@htmlcss.de>
- Loading branch information