add :arg shell_parameter

This commit is contained in:
Max Eisner 2022-07-24 23:13:14 +02:00
parent b901e5873d
commit 50ae38a372
No known key found for this signature in database
GPG Key ID: 4BF122C22879F0C8

View File

@ -435,6 +435,8 @@ module RuboCop
nil
elsif shell_parameter_stripped == "--"
:flag
elsif shell_parameter_stripped == "--shell="
:arg
else
"\"#{shell_parameter_stripped}\""
end