Module: Parse requirements in metadata correctly

This commit is contained in:
Johannes Meyer 2022-02-03 17:49:56 +01:00
parent 57e8e41089
commit d78bb02b41
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}
}