diff options
| author | Max Howell | 2009-07-31 14:03:22 +0100 |
|---|---|---|
| committer | Max Howell | 2009-07-31 14:03:22 +0100 |
| commit | 6bc29cbb651b627594dcbaf470b2d2bb9ce0eabc (patch) | |
| tree | 65030a39ab398131df81e02c3159c160045f4c46 /Library | |
| parent | 96e454435ef88d12ad04e167ab8f02aa67c49a67 (diff) | |
| download | homebrew-6bc29cbb651b627594dcbaf470b2d2bb9ce0eabc.tar.bz2 | |
FIX only claim that Formula doesn't exist if it was a loaderror
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 29171757b..ed7dd158f 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -245,7 +245,7 @@ class Formula <UnidentifiedFormula def self.create name require Formula.path(name) return eval(Formula.class(name)).new(name) - rescue + rescue LoadError raise "No formula for #{name}" end end |
