diff options
| author | Jack Nagel | 2014-08-13 20:34:11 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-13 20:54:49 -0500 |
| commit | 4ec30859e1d9f15eda1e61e1bc115c6795c93c8f (patch) | |
| tree | e179a8e79afcee678379ea9846ce38a1e3487d56 /Library | |
| parent | c913c7bdbba74ac9e64e03f45ad80bbfbfb8a8e8 (diff) | |
| download | homebrew-4ec30859e1d9f15eda1e61e1bc115c6795c93c8f.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." |
