diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2021-10-20 22:02:03 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2021-10-20 22:02:03 +0000 |
commit | a256addaf79a6bc8edb77874145c21a312a2b8e3 (patch) | |
tree | 8ac7622888da4145c9d51e88a15cff7bbdde24d7 /app | |
parent | f2cde4f3b3d1cfad3544032f7267c09742647eb9 (diff) | |
download | redmine-a256addaf79a6bc8edb77874145c21a312a2b8e3.tar.gz redmine-a256addaf79a6bc8edb77874145c21a312a2b8e3.zip |
Fix rubocop "Style/CombinableLoops" offense in wiki_page.rb (#29914, #32938).
git-svn-id: http://svn.redmine.org/redmine/trunk@21251 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/models/wiki_page.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/models/wiki_page.rb b/app/models/wiki_page.rb index c3d09fd22..e6acd0f76 100644 --- a/app/models/wiki_page.rb +++ b/app/models/wiki_page.rb @@ -321,9 +321,6 @@ class WikiAnnotate @lines[positions[line]][1] = current.author end end - end - d.each_slice(3) do |s| - sign, line = s[0], s[1] if sign == '-' positions.insert(line, -1) else |