Use :none category to replace nil category
The line in question is https://gitlab.com/gitlab-org/ruby/gems/gitlab-dangerfiles/-/blob/ddb2207bf5493a7b6293d19ca2907e0cc719d294/lib/danger/rules/simple_roulette/Dangerfile#L95
categories = [nil] unless has_categories
It is confusing, but it's correct, because if it's []
then we'll not roll anything, yet we do want to have at least one reviewer.
This caused confusion at: gitlab-org/gitlab-development-kit!2841 (comment 1193335954)
Where we should not use [nil]
as the categories. In any cases, [nil]
is just a confusing construct that we should avoid.