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
|
def initialize url=nil, version=nil
|
||||||
@url = url
|
@url = url
|
||||||
@version = version
|
@version = version
|
||||||
|
@mirrors = []
|
||||||
end
|
end
|
||||||
|
|
||||||
# Was the version defined in the DSL, or detected from the URL?
|
# Was the version defined in the DSL, or detected from the URL?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user