tanium / octobot

github bot with slack and jira integration
MIT License
25 stars 16 forks source link

fix: remove empty string when loading `muted_repos` #335

Closed nathtumlin-tanium closed 1 year ago

nathtumlin-tanium commented 1 year ago

Users that didn't have any muted repos would load an empty string, which when split would give an array containing that empty string.

This was causing test failures that created Repos with no name, which defaulted ot an empty string and then mateched that empty string, causing messages the test expected to send not to be sent.