Skip to content
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

Trying to get "commit-msg" working but seems like git params aren't set #52

Open
eMdOS opened this issue Jan 28, 2022 · 0 comments
Open

Comments

@eMdOS
Copy link

eMdOS commented Jan 28, 2022

I've set commitlint locally, and I've been trying to use it from Komondor.

let config = PackageConfiguration([
    "komondor": [
        "commit-msg": "npx --no -- commitlint --edit",
    ],
]).write()
#endif

Apparently, the git parameter that the commit-msg hook expects is not being passed.

I've also tried things like:

 "commit-msg": "npx --no -- commitlint --edit $1",

or

 "commit-msg": "npx --no -- commitlint --edit '$1'",

... but cannot make it work; cannot find documentation about it either.

How could I get it working? 🤔 - Thanks in advance 😬!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant