commitlint: Error: ENOENT: no such file or directory, open 'F:\Flat Projects\aquasoft\$GIT_PARAMS' on Windows
Hello, I am presented with this error when calling the script "commitmsg ":"commitlint -e $GIT_PARAMS"
.
I do not know if any other configuration is required that I do not know.
I hope you can help me, and thank you very much in advance.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 17 (11 by maintainers)
Commits related to this issue
- Merge pull request #103 from verdaccio/fix-commitlint chore: execute commitlint on commit-msg and not pre-commit — committed to bpedersen by juanpicado 5 years ago
Released via 5.2.3
Okay, we’ll have to implement a rather grungy fix for this, along the lines of
@marionbel - done!
@kumarharsh Would you consider contributing a the fix for this as outlined via https://github.com/marionebl/commitlint/issues/103#issuecomment-346318328?
This would spare you from creating the js proxy file you mentioned and benefit other users down the line.
Also failed with this error in git bash on windows
"commitmsg": "commitlint -e"
works for meThe
echo ...
command is indeed only tested onbash
.I do not have access to win32 machines very often, so this is hard to test for me.
$GIT_PARAMS
is intended to be used with husky. If you do not plan to use husky, justcommitlint -e
should be sufficient.