-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
It throws a error when trying to integrate as a husky commit-msg/prepare-commit-msg hook
Content of husky either commit-msg or prepare-commit-msg hook
#!/bin/sh
./node_modules/.bin/commitlint --edit $1Config
If you have any config file, please paste it below: No Config yet
Error message
Please paste the error message below:
commitlint --edit .git/COMMIT_EDITMSG
error: unexpected argument '.git/COMMIT_EDITMSG' found
Usage: commitlint [OPTIONS]
For more information, try '--help'.Expected behavior
Working as expected
Version
# Run the following command
$ commitlint --version
commitlint-rs 0.1.9Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working