Skip to content

Commit 719beea

Browse files
committed
Skip packages which don't have a released version.
Reduced downloads threshold to 10
1 parent 36643c0 commit 719beea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/SyncPackagesCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function execute(Arguments $args, ConsoleIo $io)
100100
foreach ($data as $package) {
101101
$data = $this->getDataForPackage($package);
102102

103-
if ($data['is_abandoned'] || $data['downloads'] < 50) {
103+
if ($data['is_abandoned'] || !$data['latest_stable_version'] || $data['downloads'] < 10) {
104104
continue;
105105
}
106106

0 commit comments

Comments
 (0)