diff options
| author | Adam Vandenberg | 2013-02-01 09:25:47 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-02-01 09:25:47 -0800 |
| commit | 3ca4cd8961064153c41517c0d99211d01889cc86 (patch) | |
| tree | 4edd37eeeea49c6fa85d08c7fa59cb2afc37abd6 /Library/Homebrew | |
| parent | 37349fb6ffb7f8e11e10acebe3f46774541ef3f3 (diff) | |
| download | homebrew-3ca4cd8961064153c41517c0d99211d01889cc86.tar.bz2 | |
Formula is not a formula.
Closes #17492.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/formula.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 8c68ad568..82410d3e8 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -444,6 +444,7 @@ class Formula end raise NameError if !klass.ancestors.include? Formula + raise NameError if klass == Formula return klass.new(name) if install_type == :from_name return klass.new(name, path.to_s) |
