fix TypeError

This commit is contained in:
Max Eisner 2022-07-31 21:48:02 +02:00
parent b2d94dc897
commit b792a4f645
No known key found for this signature in database
GPG Key ID: 4BF122C22879F0C8

View File

@ -1659,7 +1659,7 @@ class Formula
elsif shell_parameter_format == :arg
"--shell=#{shell}"
elsif shell_parameter_format == :none
nil
""
else
"#{shell_parameter_format}#{shell}"
end