From 3ee9b7bd88a2d9017cdf005b10567a1d6d8ec211 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Thu, 5 Jul 2012 13:11:44 -0500 Subject: SoftwareSpec: initialize @mirrors Since methods were being called on it without verifying its type. --- Library/Homebrew/formula_support.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library') diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb index 540d2db71..30cbee4e8 100644 --- a/Library/Homebrew/formula_support.rb +++ b/Library/Homebrew/formula_support.rb @@ -7,6 +7,7 @@ class SoftwareSpec def initialize url=nil, version=nil @url = url @version = version + @mirrors = [] end # Was the version defined in the DSL, or detected from the URL? -- cgit v1.2.3