You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the args field to pass command-line arguments in the pre-commit hook configuration for conventional-pre-commit, the arguments are not being parsed correctly. For example, the configuration:
This was true for the commit message: fix(foobar): test commit rejected as expected only when specifying the CLI command via the entry field.
I believe the root cause is how the args are being handled. I don't think there are any tests that cover usage of the args field, and instead existing tests call the module directly.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
When using the args field to pass command-line arguments in the pre-commit hook configuration for conventional-pre-commit, the arguments are not being parsed correctly. For example, the configuration:
fails to correctly interpret the arguments. However, directly specifying the CLI command via the entry field works as intended:
This was true for the commit message:
fix(foobar): test commit
rejected as expected only when specifying the CLI command via the entry field.I believe the root cause is how the args are being handled. I don't think there are any tests that cover usage of the
args
field, and instead existing tests call the module directly.Thanks!
The text was updated successfully, but these errors were encountered: