mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-04 14:12:01 +09:00
L #-: Rubocop 1.80.1
This commit is contained in:
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user