From fe032e3e9682db3d428ae3b6a2d1d79d86a67f41 Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Wed, 9 Dec 2015 12:09:55 +0800 Subject: avoid using FORMULA_RENAMES directly --- Library/Homebrew/formulary.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/formulary.rb') diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb index 4678f7a0e..984cac9ce 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -289,7 +289,7 @@ class Formulary return FormulaLoader.new(name, path) end - if newref = FORMULA_RENAMES[ref] + if newref = CoreFormulaRepository.instance.formula_renames[ref] formula_with_that_oldname = core_path(newref) if formula_with_that_oldname.file? return FormulaLoader.new(newref, formula_with_that_oldname) -- cgit v1.2.3