When setting major-wording or minor-wording to '' (which I assumed would disable all word search checks) it actually makes every commit a major bump, becuase it searches for that empty string in the commit message.
This PR filters out empty strings so that the major/minor words array is empty instead, as a user would expect.
When setting
major-wording
orminor-wording
to''
(which I assumed would disable all word search checks) it actually makes every commit a major bump, becuase it searches for that empty string in the commit message.This PR filters out empty strings so that the major/minor words array is empty instead, as a user would expect.