diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-20 17:54:54 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-20 17:54:54 +0000 |
commit | fd51a4fe582b0e755c26caea605064fca4b54bff (patch) | |
tree | 834ab2c5c1bde6e85f367457178601fdbfb47cde | |
parent | 188c560edce19ce4f9e51c7920cb33be2ffeb98f (diff) | |
download | redmine-fd51a4fe582b0e755c26caea605064fca4b54bff.tar.gz redmine-fd51a4fe582b0e755c26caea605064fca4b54bff.zip |
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
-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 |