diff options
Diffstat (limited to 'Library/Homebrew/download_strategy.rb')
| -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 |
