]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/EmptyLines in app/models/issue.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 19 Oct 2019 04:30:13 +0000 (04:30 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 19 Oct 2019 04:30:13 +0000 (04:30 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18735 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
app/models/issue.rb

index 638446419d3e69eb3888a2100019c43dd7726495..bb5c8e23b7c19f053605a1bc7a7bc364242d817e 100644 (file)
@@ -104,7 +104,6 @@ Layout/EmptyLineAfterGuardClause:
 # Cop supports --auto-correct.
 Layout/EmptyLines:
   Exclude:
-    - 'app/models/issue.rb'
     - 'app/models/time_entry_import.rb'
     - 'config/routes.rb'
     - 'db/migrate/001_setup.rb'
index 81a569710592cbf1a73ee486ec468732a2181e19..f25c0f295922f64dafbc2ce2f1b8c0485226e525 100644 (file)
@@ -578,8 +578,6 @@ class Issue < ActiveRecord::Base
     if (u = attrs.delete('assigned_to_id')) && safe_attribute?('assigned_to_id')
       self.assigned_to_id = u
     end
-
-
     attrs = delete_unsafe_attributes(attrs, user)
     return if attrs.empty?