Closed cengels closed 8 months ago
Thank you very much for your report! I guess this issue has been fixed in this PR → https://github.com/KeisukeYamashita/commitlint-rs/pull/269
If I have misunderstood, please let me know! Thanks ⭐
I tested this in 0.1.8 and can confirm format rules no longer panic! Nice work.
Describe the bug
What I did:
commitlint --from HEAD~1 --to HEAD~1
in a repository with existing commitsThe same error also occurs with the "type format" and "scope format" rules. I tried changing the format regex a few times, but no matter the regex, the error always remained the same. After removing the configuration for the "description format" rule (and optionally adding a bunch of other rules), the error went away.
Config
Error message
Expected behavior
No error.
Version
Additional context
N/A