aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/global.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb
index 92513294f..0113e55dc 100644
--- a/Library/Homebrew/global.rb
+++ b/Library/Homebrew/global.rb
@@ -72,7 +72,7 @@ class ExecutionError <RuntimeError
def pretty args
args.collect do |arg|
- if arg.include? ' '
+ if arg.to_s.include? ' '
"'#{ arg.gsub "'", "\\'" }'"
else
arg