-
Notifications
You must be signed in to change notification settings - Fork 929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
commitlint does not detect input #777
Comments
Thanks for reporting. Could you share the invocation of |
|
There is nothing more. |
I am facing this same issue, I am not using "gitHooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint"
}, |
@anikethsaha are you using Vue CLI by chance? If so, this article might be of use. |
no I am not using that, its just standalone project. though I will check the article, thanks |
Having same problem using commitlint with husky & have been doing so for years. For me this happened about a month ago. I haven't changed anything relevant in my Anyway hadn't got around to sorting it out until now. In meanwhile I've been git commiting manually with Good news is I can show something reproducible just from Firstly my
Now to demonstrate
and now failing ...
Notice the Hope this helps. Feel sure this must be affecting many many people who have just given up. At any rate, I'd like to say thanks for providing this FOSS package & well understand that volunteers maintain it. |
@indiescripter your problem might be handled in: #2065 This issue seems to be slightly different. |
Many thanks @escapedcat . Reverting to |
Expected Behavior
Currently when we have a Git hook (sh script) with only
commitlint
as command, it fails to fall back toCOMMIT_EDITMSG
.Current Behavior
It fails with
[input] is required: supply via stdin, or --env or --edit or --from and --to
Using
commitlint --edit
works.Affected packages
Possible Solution
Check the fallback if it works.
Steps to Reproduce (for bugs)
commitlint
as commandContext
Your Environment
commitlint --version
git --version
node --version
The text was updated successfully, but these errors were encountered: