diff options
| author | Jack Nagel | 2014-02-15 01:42:32 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-02-15 01:43:06 -0500 | 
| commit | 3d5fd54e71d46a84c4011c1d43671cb1ee4285e7 (patch) | |
| tree | 329647e9c470a89f9d0fe0a2ad4996bcc06c9354 | |
| parent | 8c77fc07c48137bd53d00c1550ee8972e8f18281 (diff) | |
| download | homebrew-3d5fd54e71d46a84c4011c1d43671cb1ee4285e7.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.
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 2 | 
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 | 
