aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-04-18 01:17:14 -0500
committerJack Nagel2013-04-18 01:17:15 -0500
commit368ba306d792ae480c2aef31954eefbeaaba0e51 (patch)
tree14cf6e6bd6121e079902b927a2ac6200e7e85fef /Library
parent7ea15918bb15aa6f8570db3d08be88240131088e (diff)
downloadbrew-368ba306d792ae480c2aef31954eefbeaaba0e51.tar.bz2
Don't accept Formula objects as dep specs
It was pointed out that this isn't used at all.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/dependency_collector.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/Library/Homebrew/dependency_collector.rb b/Library/Homebrew/dependency_collector.rb
index f4c5ed3ac..e53b8da0a 100644
--- a/Library/Homebrew/dependency_collector.rb
+++ b/Library/Homebrew/dependency_collector.rb
@@ -66,8 +66,6 @@ class DependencyCollector
else
raise "#{spec} is not a Requirement subclass"
end
- when Formula
- Dependency.new(spec.name, tag)
else
raise "Unsupported type #{spec.class} for #{spec}"
end