diff options
| author | Max Howell | 2010-01-16 19:38:27 +0000 |
|---|---|---|
| committer | Max Howell | 2010-01-16 20:25:50 +0000 |
| commit | f2dcec1f70f130a8a5e9ad4ee8a237500a9625fd (patch) | |
| tree | 2995e32be06fa84beedde4baeb51cf4d92873085 /Library | |
| parent | 127cdfdb536492546be4fe0ec493d3fa809f9aff (diff) | |
| download | homebrew-f2dcec1f70f130a8a5e9ad4ee8a237500a9625fd.tar.bz2 | |
Stop raising during the raise ctor
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/global.rb | 2 |
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 |
