diff options
| author | Jack Nagel | 2014-04-05 22:03:34 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-04-05 22:03:40 -0500 |
| commit | b7d98f8330e5dc24cc073c8a1eea19be0208e52f (patch) | |
| tree | c64b610f70ff5ad232270dda3750992db2c49f32 | |
| parent | 5c7ae48899cbd499438760f3e6a54bf5c37b732c (diff) | |
| download | homebrew-b7d98f8330e5dc24cc073c8a1eea19be0208e52f.tar.bz2 | |
Use StandardLoader when we know the path already
| -rw-r--r-- | Library/Homebrew/formulary.rb | 2 |
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) |
