1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in app/models/version.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18675 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-10-15 05:07:29 +00:00
parent b65348fa2c
commit 4c22248143
2 changed files with 1 additions and 7 deletions

View File

@ -123,12 +123,6 @@ Layout/ElseAlignment:
Layout/EmptyLineAfterGuardClause:
Enabled: false
# Cop supports --auto-correct.
# Configuration parameters: AllowAdjacentOneLineDefs, NumberOfEmptyLines.
Layout/EmptyLineBetweenDefs:
Exclude:
- 'app/models/version.rb'
# Cop supports --auto-correct.
Layout/EmptyLines:
Exclude:

View File

@ -23,7 +23,7 @@ module FixedIssuesExtension
def estimated_hours
@estimated_hours ||= sum(:estimated_hours).to_f
end
#
# Returns the total amount of open issues for this version.
def open_count
load_counts