Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
edgrosvenor committed Jan 18, 2025
1 parent 4aff734 commit de78827
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/kibble/src/Commands/SplitPackagesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ public function handle(): int
foreach (File::directories(base_path('packages')) as $package) {
$json = json_decode(File::get("{$package}/composer.json"), true);

if (!isset($json['name'])) {
if (! isset($json['name'])) {
$this->error("Could not find the 'name' field in the composer.json of '{$package}'");

continue;
}

Expand All @@ -36,8 +37,9 @@ public function handle(): int
foreach ($commands as $command) {
$process = Process::run(implode(' ', $command));

if (!$process->successful()) {
if (! $process->successful()) {
$this->error($process->errorOutput());

return self::FAILURE;
}
}
Expand Down

0 comments on commit de78827

Please sign in to comment.