Skip to content

Commit d9bd246

Browse files
committed
Fix issue bot
1 parent f60f93a commit d9bd246

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

issue-bot/src/Console/DownloadCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int
122122
}
123123
$phpVersionHashes[] = $hash;
124124
}
125+
if (count($phpVersionHashes) === 0) {
126+
continue;
127+
}
125128
$chunkSize = (int) ceil(count($phpVersionHashes) / 18);
126129
if ($chunkSize < 1) {
127130
throw new Exception('Chunk size less than 1');

0 commit comments

Comments
 (0)