The result of a string split operation is always an array, so the if bugs == '' conditional would never evaluate to true. This works around that with a filter of the split result to remove empty strings and changes the conditional to an array length check.
This is a followup from #20.
Improve handling of bugs string with no bugs.
The result of a string split operation is always an array, so the
if bugs == ''
conditional would never evaluate to true. This works around that with a filter of the split result to remove empty strings and changes the conditional to an array length check.