Skip to content
Snippets Groups Projects
Commit 061a34b1 authored by Xu Cheng's avatar Xu Cheng
Browse files

Formulary.core_path: use CoreFormulaRepository#formula_dir

parent b810c034
No related branches found
No related tags found
No related merge requests found
......@@ -326,7 +326,7 @@ class Formulary
end
def self.core_path(name)
Pathname.new("#{HOMEBREW_LIBRARY}/Formula/#{name.downcase}.rb")
CoreFormulaRepository.instance.formula_dir/"#{name.downcase}.rb"
end
def self.tap_paths(name, taps = Dir["#{HOMEBREW_LIBRARY}/Taps/*/*/"])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment