Closed ahal closed 2 years ago
I never noticed this since I had a repo applied (and it somehow works even with [ ["foo"] ]
.. I don't understand JS very well). I'm a bit surprised no on else has noticed up until now..
Sorry about this, you may want to do your own testing to make sure I'm not making any other silly mistakes.
This is a regression from PR #52
The expression:
already returns an array, so wrapping it in
new Array
actually yields[ [] ]
. This then causesignoredRepos.length === 0
to always evaluate tofalse
. So whenever this setting is empty, we'd actually hide all Github reviews.