Skip to content

Commit 7a91513

Browse files
AzGasimgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 5d111cf commit 7a91513

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/monorepo/src/Commands/CreateMissingRepositoriesCommand.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use Moox\Monorepo\Contracts\GitHubClientInterface;
99
use Moox\Monorepo\DataTransferObjects\PackageInfo;
1010
use Moox\Monorepo\Services\DevlinkService;
11+
1112
use function Moox\Prompts\multiselect;
1213
use function Moox\Prompts\progress;
1314
use function Moox\Prompts\table;
@@ -80,7 +81,7 @@ public function handle(): int
8081
// Let user select which repositories to create
8182
if (! $this->option('force')) {
8283
$selectedPackages = $this->selectPackagesToCreate($missingPackages);
83-
84+
8485
if ($selectedPackages->isEmpty()) {
8586
$this->info('No repositories selected. Operation cancelled.');
8687

@@ -187,12 +188,12 @@ private function selectPackagesToCreate(Collection $missingPackages): Collection
187188
$choiceToPackage = [];
188189
$choices = $missingPackages->map(function ($package) use (&$choiceToPackage) {
189190
$type = $package->visibility === 'public' ? '🔓' : '🔒';
190-
$description = $package->description ? ' - ' . substr($package->description, 0, 50) : '';
191+
$description = $package->description ? ' - '.substr($package->description, 0, 50) : '';
191192
$choice = "{$type} {$package->name} ({$package->visibility}){$description}";
192-
193+
193194
// Store mapping for easy lookup
194195
$choiceToPackage[$choice] = $package;
195-
196+
196197
return $choice;
197198
})->toArray();
198199

0 commit comments

Comments
 (0)