summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-17 17:02:35 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-17 17:02:35 +0000
commitabf2ad12e57a0e74f61d3354c41d094ab3a052bb (patch)
tree62580f0248d9bd15f5bc91b9ef16ae6f015d833b
parent8ea07d7783fae1193f7dc82dce7f8e7322d59d31 (diff)
downloadredmine-abf2ad12e57a0e74f61d3354c41d094ab3a052bb.tar.gz
redmine-abf2ad12e57a0e74f61d3354c41d094ab3a052bb.zip
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
-rw-r--r--.rubocop_todo.yml7
-rw-r--r--lib/redmine/export/pdf/issues_pdf_helper.rb2
2 files changed, 1 insertions, 8 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 4f14e3e9b..f5d714884 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -162,13 +162,6 @@ 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:
Enabled: false
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