JPeer264 / node-semantic-git-commit-cli

A CLI for semantic git commits
https://www.npmjs.com/package/semantic-git-commit-cli
MIT License
147 stars 11 forks source link

max-char can be tricked with trailing spaces #39

Closed JPeer264 closed 7 years ago

JPeer264 commented 7 years ago

Make sure max-char and min-char checks the text after it got .trim()ed.

Currently I can just add whitespaces to add a commit.