aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-02-15 01:42:32 -0500
committerJack Nagel2014-02-15 01:43:06 -0500
commit457d409f8041564650d8fd90a252976f9cbd3257 (patch)
tree0a4ee92f6ea1f8362180653a90e1e947255ebd9d /Library
parente225aea902a712e1741a8239bfea1115818c2418 (diff)
downloadbrew-457d409f8041564650d8fd90a252976f9cbd3257.tar.bz2
GitDownloadStrategy: fix typo'd parameter name
This should be "resource", not "resources", though it works anyway because there is a also "resource" reader method.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 1 insertions, 1 deletions
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