Skip to content

Commit ba3b783

Browse files
committed
Fix batch handling in rebuild composer repo
Signed-off-by: Matt Friedman <maf675@gmail.com> fix Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent 0632777 commit ba3b783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manage/tool/composer/rebuild_repo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ public function run($from_file = false, $force = false, $progress = null)
268268
$this->dump_include($last_type, $group, $packages);
269269
}
270270

271-
$next_batch = $this->start + $this->limit;
271+
$next_batch = $this->limit ? $this->start + $this->limit : $this->get_total();
272272

273273
if ($next_batch >= $this->get_total())
274274
{

0 commit comments

Comments
 (0)