summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-19 04:30:26 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-19 04:30:26 +0000
commitc4930a8a2dca2b7310e2caf27430c0f80fca38b1 (patch)
tree58b98871c0762191a68319f8f7ae11df5f8f6735
parentc1e7c43cd43598d2b0c4140314513a74bc686308 (diff)
downloadredmine-c4930a8a2dca2b7310e2caf27430c0f80fca38b1.tar.gz
redmine-c4930a8a2dca2b7310e2caf27430c0f80fca38b1.zip
code cleanup: rubocop: fix Layout/EmptyLines in app/models/issue.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18736 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--.rubocop_todo.yml1
-rw-r--r--app/models/time_entry_import.rb1
2 files changed, 0 insertions, 2 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index bb5c8e23b..265bcb04d 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -104,7 +104,6 @@ Layout/EmptyLineAfterGuardClause:
# Cop supports --auto-correct.
Layout/EmptyLines:
Exclude:
- - 'app/models/time_entry_import.rb'
- 'config/routes.rb'
- 'db/migrate/001_setup.rb'
- 'lib/redmine/sudo_mode.rb'
diff --git a/app/models/time_entry_import.rb b/app/models/time_entry_import.rb
index 567cdf9cf..125eee093 100644
--- a/app/models/time_entry_import.rb
+++ b/app/models/time_entry_import.rb
@@ -57,7 +57,6 @@ class TimeEntryImport < Import
private
-
def build_object(row, item)
object = TimeEntry.new
object.user = user