28d09227f5
ReviewableScore#types extend the PostActionTypes with their own, storing the result inside a class variable. To avoid overwriting an existing flag, we need to calculate the next flag ID using these types instead of the PostAction ones. Since we first call the score types to calculate the id, this list gets memoized, leaving us with an outdated list. To fix this, we now reload ReviewableScore#types after replacing flags. |
||
---|---|---|
.. | ||
filter.rb | ||
filter_manager.rb | ||
instance.rb | ||
metadata.rb |