Module: Parse requirements in metadata correctly
This commit is contained in:
parent
57e8e41089
commit
d78bb02b41
|
@ -829,8 +829,7 @@ class Module
|
|||
if (preg_match('/^([\w\-\/]+)\s+\((.+)\)$/', $part, $m)) {
|
||||
$metadata->{$key}[$m[1]] = $m[2];
|
||||
} else {
|
||||
// TODO: FAIL?
|
||||
continue;
|
||||
$metadata->{$key}[$part] = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue