Skip to content

Commit

Permalink
Remove limit option
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurujai committed Mar 6, 2024
1 parent cdf5f52 commit a9497c6
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/PumukitYoutubeBundle.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions Command/EstimatedStorageAccountCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int

foreach ($response->getItems() as $item) {
$progressBar->advance();
if (null !== $input->getOption('limit') && $count >= $input->getOption('limit')) {
break;
}
++$count;
$videoId = $item->getId()->getVideoId();
$youtubeDownloader = new YouTubeDownloader();
Expand Down

0 comments on commit a9497c6

Please sign in to comment.