fix additional quotes already handled by #inspect

This commit is contained in:
Max Eisner 2022-09-05 19:46:32 +02:00
parent 7380f58173
commit 2c4ef98f0d
No known key found for this signature in database
GPG Key ID: 4BF122C22879F0C8

View File

@ -441,7 +441,7 @@ module RuboCop
elsif shell_parameter_stripped == "--shell=" elsif shell_parameter_stripped == "--shell="
:arg :arg
else else
"\"#{shell_parameter_stripped}\"" shell_parameter_stripped
end end
replacement_args = %w[] replacement_args = %w[]