]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/LeadingCommentSpace in lib/diff.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 16 Oct 2019 13:00:52 +0000 (13:00 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 16 Oct 2019 13:00:52 +0000 (13:00 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18691 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
lib/diff.rb

index 32de250250522afe029183d1fdac439c9fc7b574..0ac5d787ce717aa75fe6b43d00363629d954f8af 100644 (file)
@@ -244,12 +244,6 @@ Layout/IndentationConsistency:
 Layout/IndentationWidth:
   Enabled: false
 
-# Cop supports --auto-correct.
-# Configuration parameters: AllowDoxygenCommentStyle.
-Layout/LeadingCommentSpace:
-  Exclude:
-    - 'lib/diff.rb'
-
 # Cop supports --auto-correct.
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: symmetrical, new_line, same_line
index 43ecb7397fd0dea9ebc7daaca541ed6a4223fc47..5c6eb4380c6633c6144a028ca20895a221feea98 100644 (file)
@@ -190,10 +190,10 @@ module Diffable
     end
 
     self[low] = value
-    # $stderr << "replace #{value} : 0/#{low}/#{init_high} (#{steps} steps) (#{init_high-low} off )\n"
-    # $stderr.puts self.inspect
-    #gets
-    #p length - low
+    #  $stderr << "replace #{value} : 0/#{low}/#{init_high} (#{steps} steps) (#{init_high-low} off )\n"
+    #  $stderr.puts self.inspect
+    # gets
+    # p length - low
     return low
   end