mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 01:11:12 +00: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:
parent
c1e7c43cd4
commit
c4930a8a2d
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user