code cleanup: rubocop: fix Layout/EndAlignment in lib/redmine/export/pdf/issues_pdf_helper.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18732 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2019-10-17 17:02:35 +00:00
parent 8ea07d7783
commit abf2ad12e5
2 changed files with 1 additions and 8 deletions

View File

@@ -161,13 +161,6 @@ Layout/EmptyLinesAroundMethodBody:
Layout/EmptyLinesAroundModuleBody: Layout/EmptyLinesAroundModuleBody:
Enabled: false Enabled: false
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity.
# SupportedStylesAlignWith: keyword, variable, start_of_line
Layout/EndAlignment:
Exclude:
- 'lib/redmine/export/pdf/issues_pdf_helper.rb'
# Cop supports --auto-correct. # Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment. # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
Layout/ExtraSpacing: Layout/ExtraSpacing:

View File

@@ -343,7 +343,7 @@ module Redmine
pdf.set_auto_page_break(true, bottom_margin) pdf.set_auto_page_break(true, bottom_margin)
pdf.RDMwriteHTMLCell(0, 5, 10, '', issue.last_notes.to_s, [], "LRBT") pdf.RDMwriteHTMLCell(0, 5, 10, '', issue.last_notes.to_s, [], "LRBT")
pdf.set_auto_page_break(false) pdf.set_auto_page_break(false)
end end
end end
if issues.size == Setting.issues_export_limit.to_i if issues.size == Setting.issues_export_limit.to_i