fix shell parameter type
This commit is contained in:
parent
d963a1ae2f
commit
e4b67e84dd
@ -435,9 +435,9 @@ module RuboCop
|
|||||||
shell_parameter_format = if shell_parameter_stripped.empty?
|
shell_parameter_format = if shell_parameter_stripped.empty?
|
||||||
nil
|
nil
|
||||||
elsif shell_parameter_stripped == "--"
|
elsif shell_parameter_stripped == "--"
|
||||||
:flag
|
":flag"
|
||||||
elsif shell_parameter_stripped == "--shell="
|
elsif shell_parameter_stripped == "--shell="
|
||||||
:arg
|
":arg"
|
||||||
else
|
else
|
||||||
"\"#{shell_parameter_stripped}\""
|
"\"#{shell_parameter_stripped}\""
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user