aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-04-05 22:03:34 -0500
committerJack Nagel2014-04-05 22:03:40 -0500
commitcaaa32325cf7bcf03d07f7525da082f53217cceb (patch)
treeb638533b06f49adb097c11d099c76ea30bcf46de /Library
parent686ab7ad7fb2473c992231df548f854d988056c9 (diff)
downloadbrew-caaa32325cf7bcf03d07f7525da082f53217cceb.tar.bz2
Use StandardLoader when we know the path already
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formulary.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb
index 9dc7289c3..ff1dcce38 100644
--- a/Library/Homebrew/formulary.rb
+++ b/Library/Homebrew/formulary.rb
@@ -202,7 +202,7 @@ class Formulary
possible_cached_formula = Pathname.new("#{HOMEBREW_CACHE_FORMULA}/#{ref}.rb")
if possible_cached_formula.file?
- return FromPathLoader.new(possible_cached_formula.to_s)
+ return StandardLoader.new(ref, possible_cached_formula)
end
return StandardLoader.new(ref)