Revert "use the correct_spec function to handle dependencies and requirements"
This reverts commit 318a86d786.
This commit is contained in:
parent
5bd30d9397
commit
f6209048f1
1 changed files with 8 additions and 2 deletions
|
|
@ -184,7 +184,10 @@ function spec:check(silent)
|
|||
return false
|
||||
end
|
||||
|
||||
self.reqs = spec.correct_spec(self.reqs)
|
||||
-- turn an id into a spec
|
||||
if (is == "string") then
|
||||
self.reqs = { self.reqs }
|
||||
end
|
||||
end
|
||||
|
||||
if self.deps ~= nil then -- spec.deps
|
||||
|
|
@ -194,7 +197,10 @@ function spec:check(silent)
|
|||
return false
|
||||
end
|
||||
|
||||
self.deps = spec.correct_spec(self.deps)
|
||||
-- turn an id into a spec
|
||||
if (is == "string") then
|
||||
self.deps = { self.deps }
|
||||
end
|
||||
end
|
||||
|
||||
if silent == true then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue