From b792a4f645b613ba7e9337777dabbfd92dbfc3a5 Mon Sep 17 00:00:00 2001 From: Max Eisner <4730112+max-ae@users.noreply.github.com> Date: Sun, 31 Jul 2022 21:48:02 +0200 Subject: [PATCH] fix TypeError --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index fd2ccb0a65..cf1ad0deb1 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -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