diff options
| author | Yorick Peterse <yorickpeterse@gmail.com> | 2018-09-20 15:18:04 +0200 |
|---|---|---|
| committer | Yorick Peterse <yorickpeterse@gmail.com> | 2018-10-08 15:19:12 +0200 |
| commit | 4c1dc31051fb741bbd6daff4b5c1dcb166d85eeb (patch) | |
| tree | f47f5d5bec9e2f13d8904d60341e32d7c57ebedd /doc/gitlab-basics/add-file.md | |
| parent | c616327c1221dc91318a35769e01ab6932d497ea (diff) | |
| download | gitlab-ce-4c1dc31051fb741bbd6daff4b5c1dcb166d85eeb.tar.gz | |
Clean up ActiveRecord code in TodosFinder
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.
Diffstat (limited to 'doc/gitlab-basics/add-file.md')
0 files changed, 0 insertions, 0 deletions
