diff options
| author | Misty De Meo | 2015-08-24 19:35:57 -0700 |
|---|---|---|
| committer | Misty De Meo | 2015-08-24 19:36:24 -0700 |
| commit | cb154116c551c68f8ae0533ae9fa35ba3e903599 (patch) | |
| tree | a8ae5abe53c9ea7135779c2302994639183a4f85 /Library | |
| parent | 4714818bdf57de83f6a561581a1484ba34806ecb (diff) | |
| download | brew-cb154116c551c68f8ae0533ae9fa35ba3e903599.tar.bz2 | |
migrator: #each.map is redundant
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/migrator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/migrator.rb b/Library/Homebrew/migrator.rb index da76f4050..2b1d437f8 100644 --- a/Library/Homebrew/migrator.rb +++ b/Library/Homebrew/migrator.rb @@ -62,7 +62,7 @@ class Migrator @oldpath = HOMEBREW_CELLAR/formula.oldname raise MigratorNoOldpathError.new(formula) unless oldpath.exist? - @old_tabs = oldpath.subdirs.each.map { |d| Tab.for_keg(Keg.new(d)) } + @old_tabs = oldpath.subdirs.map { |d| Tab.for_keg(Keg.new(d)) } @old_tap = old_tabs.first.tap if !ARGV.force? && !from_same_taps? |
