L #-: Rubocop 1.80.1

This commit is contained in:
Tino Vázquez committed 2025-08-27 17:38:58 +02:00
1 parent 7228b0149a
commit d6daecdb24
1 file changed
+2
+2
View File
@@ -261,7 +261,9 @@ module VNMMAD
pass2 = pass1.lines.each_with_object([]) do |line, a|
next if line =~ /^\s*$/ # ignore empty lines
# rubocop:disable Style/RedundantRegexpCharacterClass
line.gsub!(/([^ ])[ ]+/, '\1 ') # remove redundant spaces
# rubocop:enable Style/RedundantRegexpCharacterClass
a << line
end.join