diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index 2415b843b2..e88bed96b3 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 => "",