diff options
-rw-r--r-- | .rubocop_todo.yml | 4 | ||||
-rw-r--r-- | app/models/repository/cvs.rb | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index d738e93f8..8507358f5 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -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 diff --git a/app/models/repository/cvs.rb b/app/models/repository/cvs.rb index ef6848d28..e823275e4 100644 --- a/app/models/repository/cvs.rb +++ b/app/models/repository/cvs.rb @@ -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 |