Remove apps from the list which have no release at all

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2019-03-20 12:15:52 +01:00 committed by Roeland Jago Douma
parent 769cb629ae
commit 95c9e0edd2
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 5 additions and 0 deletions

View File

@ -103,6 +103,11 @@ class AppFetcher extends Fetcher {
}
}
if (empty($releases)) {
// Remove apps that don't have a matching release
continue;
}
// Get the highest version
$versions = [];
foreach($releases as $release) {