From abf2ad12e57a0e74f61d3354c41d094ab3a052bb Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 17 Oct 2019 17:02:35 +0000 Subject: [PATCH] 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 --- .rubocop_todo.yml | 7 ------- lib/redmine/export/pdf/issues_pdf_helper.rb | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) 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 -- 2.39.5