From: Toshi MARUYAMA Date: Tue, 22 Oct 2019 16:06:34 +0000 (+0000) Subject: code cleanup: rubocop: fix Layout/SpaceBeforeComma in lib/redmine/export/pdf.rb X-Git-Tag: 4.1.0~264 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5d4f94142b24e56d095e836835a699718291dc17;p=redmine.git code cleanup: rubocop: fix Layout/SpaceBeforeComma in lib/redmine/export/pdf.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18839 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 4fbaef3f0..5040c9c19 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -248,7 +248,6 @@ Layout/SpaceAroundOperators: # Cop supports --auto-correct. Layout/SpaceBeforeComma: Exclude: - - 'lib/redmine/export/pdf.rb' - 'test/mocks/open_id_authentication_mock.rb' # Cop supports --auto-correct. diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb index 2fff976fb..987f2b989 100644 --- a/lib/redmine/export/pdf.rb +++ b/lib/redmine/export/pdf.rb @@ -70,7 +70,7 @@ module Redmine Redmine::WikiFormatting.to_html(Setting.text_formatting, text) end - def RDMCell(w ,h=0, txt='', border=0, ln=0, align='', fill=0, link='') + def RDMCell(w, h=0, txt='', border=0, ln=0, align='', fill=0, link='') cell(w, h, txt, border, ln, align, fill, link) end