From d6daecdb241d42122a358c74d7eb3d866c89ccfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tino=20V=C3=A1zquez?= Date: Wed, 27 Aug 2025 17:38:58 +0200 Subject: [PATCH] L #-: Rubocop 1.80.1 --- src/vnm_mad/remotes/lib/tproxy.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vnm_mad/remotes/lib/tproxy.rb b/src/vnm_mad/remotes/lib/tproxy.rb index 09b24e9cd3..4295bcdc47 100644 --- a/src/vnm_mad/remotes/lib/tproxy.rb +++ b/src/vnm_mad/remotes/lib/tproxy.rb @@ -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