Skip to content
This repository has been archived by the owner on Aug 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #5 from luisprmat/main
Browse files Browse the repository at this point in the history
Fix packages message if jetstream is present
  • Loading branch information
luisprmat authored Sep 29, 2021
2 parents bd1cdf9 + 78f5faf commit cffb97e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Illuminate\Console\Command;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Str;

Expand Down Expand Up @@ -66,6 +67,10 @@ public function handle()
$this->info("Language [{$locale}] installed successfully, but it isn't the default language.");
}

if (in_array('jetstream-ext', $discoveredPackages)) {
unset($discoveredPackages[array_search('jetstream-ext', $discoveredPackages)]);
}

if (!empty($discoveredPackages)) {
$this->info(
'Translations for [' . implode(', ', $discoveredPackages) . '] '
Expand Down

0 comments on commit cffb97e

Please sign in to comment.