1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

code cleanup: rubocop: fix Style/CommentedKeyword in app/models/repository/cvs.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18492 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-09-20 17:54:54 +00:00
parent 188c560edc
commit fd51a4fe58
2 changed files with 1 additions and 5 deletions

View File

@ -1180,10 +1180,6 @@ Style/ColonMethodCall:
- 'test/unit/default_data_test.rb'
- 'test/unit/lib/redmine/export/pdf_test.rb'
Style/CommentedKeyword:
Exclude:
- 'app/models/repository/cvs.rb'
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
# SupportedStyles: assign_to_condition, assign_inside_condition

View File

@ -190,7 +190,7 @@ class Repository::Cvs < Repository
each do |changeset|
changeset.update_attribute :revision, next_revision_number
end
end # transaction
end
@current_revision_number = nil
end