SoftwareSpec: initialize @mirrors
Since methods were being called on it without verifying its type.
This commit is contained in:
parent
a38e2284ea
commit
90b2f1f4ba
@ -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?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user