diff options
| author | Jack Nagel | 2014-08-07 00:48:13 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-07 00:48:13 -0500 |
| commit | 6718bc554f090630491e8ec2fe072c538d90592a (patch) | |
| tree | 658ad07021a94b226b336bd32aa3f508aa555a3e /Library/Homebrew/build_options.rb | |
| parent | 22d1f6516f977520ed67601ffde2bfecea746757 (diff) | |
| download | brew-6718bc554f090630491e8ec2fe072c538d90592a.tar.bz2 | |
Spell out the empty string instead of calling to_s on nil
Diffstat (limited to 'Library/Homebrew/build_options.rb')
| -rw-r--r-- | Library/Homebrew/build_options.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/build_options.rb b/Library/Homebrew/build_options.rb index 014cfc42a..8ea321772 100644 --- a/Library/Homebrew/build_options.rb +++ b/Library/Homebrew/build_options.rb @@ -25,7 +25,8 @@ class BuildOptions when "universal" then "Build a universal binary" when "32-bit" then "Build 32-bit only" when "c++11" then "Build using C++11 mode" - end.to_s + else "" + end @options << Option.new(name, description) end |
