From 457d409f8041564650d8fd90a252976f9cbd3257 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 15 Feb 2014 01:42:32 -0500 Subject: GitDownloadStrategy: fix typo'd parameter name This should be "resource", not "resources", though it works anyway because there is a also "resource" reader method. --- Library/Homebrew/download_strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index ca223ae6b..65bceffa4 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -474,7 +474,7 @@ class GitDownloadStrategy < VCSDownloadStrategy %r{http://llvm\.org}, ] - def initialize name, resources + def initialize name, resource super @shallow = resource.specs.fetch(:shallow) { true } end -- cgit v1.2.3