diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 4f14e3e9b..f5d714884 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -161,13 +161,6 @@ Layout/EmptyLinesAroundMethodBody: Layout/EmptyLinesAroundModuleBody: 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. # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment. Layout/ExtraSpacing: diff --git a/lib/redmine/export/pdf/issues_pdf_helper.rb b/lib/redmine/export/pdf/issues_pdf_helper.rb index 41a9b0c19..b23954e2e 100644 --- a/lib/redmine/export/pdf/issues_pdf_helper.rb +++ b/lib/redmine/export/pdf/issues_pdf_helper.rb @@ -343,7 +343,7 @@ module Redmine pdf.set_auto_page_break(true, bottom_margin) pdf.RDMwriteHTMLCell(0, 5, 10, '', issue.last_notes.to_s, [], "LRBT") pdf.set_auto_page_break(false) - end + end end if issues.size == Setting.issues_export_limit.to_i