mirror of
https://github.com/redmine/redmine.git
synced 2025-12-22 16:30:38 +01:00
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
This commit is contained in:
@@ -104,7 +104,6 @@ Layout/EmptyLineAfterGuardClause:
|
|||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
Layout/EmptyLines:
|
Layout/EmptyLines:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'app/models/time_entry_import.rb'
|
|
||||||
- 'config/routes.rb'
|
- 'config/routes.rb'
|
||||||
- 'db/migrate/001_setup.rb'
|
- 'db/migrate/001_setup.rb'
|
||||||
- 'lib/redmine/sudo_mode.rb'
|
- 'lib/redmine/sudo_mode.rb'
|
||||||
|
|||||||
@@ -57,7 +57,6 @@ class TimeEntryImport < Import
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
|
|
||||||
def build_object(row, item)
|
def build_object(row, item)
|
||||||
object = TimeEntry.new
|
object = TimeEntry.new
|
||||||
object.user = user
|
object.user = user
|
||||||
|
|||||||
Reference in New Issue
Block a user