aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/tab.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb
index 2415b843b..e88bed96b 100644
--- a/Library/Homebrew/tab.rb
+++ b/Library/Homebrew/tab.rb
@@ -92,7 +92,7 @@ class Tab < OpenStruct
def self.dummy_tab f=nil
attributes = {
:used_options => [],
- :unused_options => (f.options.as_flags rescue []),
+ :unused_options => f ? f.options.as_flags : [],
:built_as_bottle => false,
:poured_from_bottle => false,
:tapped_from => "",