]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/SpaceBeforeComma in lib/redmine/export/pdf.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 22 Oct 2019 16:06:34 +0000 (16:06 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 22 Oct 2019 16:06:34 +0000 (16:06 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18839 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
lib/redmine/export/pdf.rb

index 4fbaef3f020a6ac50632341db5cdb50c1b8cc6a4..5040c9c1925fbec860b9cb2b6acbd15ef6a3b2fb 100644 (file)
@@ -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.
index 2fff976fb8f59f9fc7da864a178c65183552e9d4..987f2b9892c87bac09f435cff7061b803ba4a875 100644 (file)
@@ -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(wh=0, txt='', border=0, ln=0, align='', fill=0, link='')
           cell(w, h, txt, border, ln, align, fill, link)
         end