diff options
| author | Jack Nagel | 2014-08-13 20:34:11 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-13 20:54:49 -0500 |
| commit | edbb219bbdcbcab51aa7fce260b4e9afd114739f (patch) | |
| tree | 6baf29a1dd3bc1ac3903575dd98a15a65cbd18cb /Library | |
| parent | 2311181b54ef968339923bcf7a214cd110010520 (diff) | |
| download | brew-edbb219bbdcbcab51aa7fce260b4e9afd114739f.tar.bz2 | |
More idiomatic way to combine arrays
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index e7cd7d938..98711719a 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -216,8 +216,7 @@ class FormulaInstaller check_requirements(req_map) - deps = [].concat(req_deps).concat(f.deps) - deps = expand_dependencies(deps) + deps = expand_dependencies(req_deps + f.deps) if deps.empty? and only_deps? puts "All dependencies for #{f} are satisfied." |
