Skip to content

Commit

Permalink
Merge pull request #112 from andrey-helldar/10.x
Browse files Browse the repository at this point in the history
[10.x] Fixed alignment of status messages
  • Loading branch information
Andrey Helldar committed May 20, 2021
2 parents 5c096fc + e8cfbeb commit 27f19e8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Console/BaseCommand.php
Expand Up @@ -266,6 +266,12 @@ protected function filesLength(): int

foreach ($this->packages() as $package) {
$files = array_merge($files, $this->files($package));

foreach ($this->plugins() as $plugin) {
if ($plugin->has()) {
$files = array_merge($files, $plugin->source());
}
}
}

return $this->files_length = Arr::longestStringLength(array_unique($files));
Expand Down

0 comments on commit 27f19e8

Please sign in to comment.