Formulary.core_path: use CoreFormulaRepository#formula_dir
This commit is contained in:
parent
b810c034b7
commit
061a34b138
@ -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/*/*/"])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user