Skip to content
  • Yorick Peterse's avatar
    Clean up ActiveRecord code in TodosFinder · c454a2f4a6ca
    Yorick Peterse authored
    This refactors the TodosFinder finder according to the new code reuse
    rules, as enforced by the CodeReuse cops. I also changed some of the
    methods to use regular if statements, instead of assignments and/or
    early returns. This results in a more natural flow when reading the
    code, and it makes it harder to accidentally return the wrong result.
    c454a2f4a6ca