1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-19 01:52:00 +00:00

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
This commit is contained in:
Marius Balteanu 2021-10-20 22:02:03 +00:00
parent f2cde4f3b3
commit a256addaf7
2 changed files with 0 additions and 4 deletions

View File

@ -1164,7 +1164,6 @@ Style/ColonMethodCall:
Style/CombinableLoops:
Exclude:
- 'app/models/wiki_page.rb'
- 'lib/redmine/default_data/loader.rb'
# Cop supports --auto-correct.

View File

@ -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