Don't accept Formula objects as dep specs
It was pointed out that this isn't used at all.
This commit is contained in:
parent
7ea15918bb
commit
368ba306d7
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user