GitDownloadStrategy: fix typo'd parameter name

This should be "resource", not "resources", though it works anyway
because there is a also "resource" reader method.
This commit is contained in:
Jack Nagel 2014-02-15 01:42:32 -05:00
parent e225aea902
commit 457d409f80

View File

@ -474,7 +474,7 @@ class GitDownloadStrategy < VCSDownloadStrategy
%r{http://llvm\.org}, %r{http://llvm\.org},
] ]
def initialize name, resources def initialize name, resource
super super
@shallow = resource.specs.fetch(:shallow) { true } @shallow = resource.specs.fetch(:shallow) { true }
end end