Closed
Description
Empty commit message throws error in the console. Should handle error and throws some kind of user friendly error message.
TypeError: Cannot read property 'length' of null
at exports.default (./node_modules/@commitlint/rules/lib/header-max-length.js:10:143)
at results.filter.map.entry (./node_modules/@commitlint/lint/lib/index.js:151:17)
at Array.map (<anonymous>)
at Object.<anonymous> (./node_modules/@commitlint/lint/lib/index.js:131:7)
at process._tickCallback (internal/process/next_tick.js:68:7)
husky > commit-msg hook failed (add --no-verify to bypass)
Metadata
Metadata
Assignees
Labels
No labels