aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/update.rb
diff options
context:
space:
mode:
authorXu Cheng2015-12-09 12:09:55 +0800
committerXu Cheng2015-12-09 16:56:59 +0800
commitfe032e3e9682db3d428ae3b6a2d1d79d86a67f41 (patch)
tree70c692b533a3ff02e32ba96769f2fd44820e3584 /Library/Homebrew/cmd/update.rb
parent571011ad59f37e2094d00a8ce2ec1a8edaba74e6 (diff)
downloadbrew-fe032e3e9682db3d428ae3b6a2d1d79d86a67f41.tar.bz2
avoid using FORMULA_RENAMES directly
Diffstat (limited to 'Library/Homebrew/cmd/update.rb')
-rw-r--r--Library/Homebrew/cmd/update.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update.rb b/Library/Homebrew/cmd/update.rb
index f4cd9d712..39a0371fb 100644
--- a/Library/Homebrew/cmd/update.rb
+++ b/Library/Homebrew/cmd/update.rb
@@ -422,7 +422,7 @@ class Report
next unless newname = Tap.fetch($1, $2).formula_renames[oldname]
else
oldname = path.basename(".rb").to_s
- next unless newname = FORMULA_RENAMES[oldname]
+ next unless newname = CoreFormulaRepository.instance.formula_renames[oldname]
end
if fetch(:A, []).include?(newpath = path.dirname.join("#{newname}.rb"))