Skip to content

Commit

Permalink
Fix importmap command
Browse files Browse the repository at this point in the history
  • Loading branch information
tonysm committed Feb 22, 2024
1 parent 1106992 commit 557c89e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Illuminate\Console\Command;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\File;
use RuntimeException;
use Symfony\Component\Process\Process;
Expand Down Expand Up @@ -112,7 +113,7 @@ private function installJsDependenciesWithImportmaps(): void
{
$this->components->info('Installing JS dependencies (Importmaps).');

$this->callSilent('php artisan importmap:pin '.implode(' ', array_keys($this->jsDependencies())));
Artisan::call('importmap:pin '.implode(' ', array_keys($this->jsDependencies())));
}

private function ensureTrixLibIsImported(): void
Expand Down

0 comments on commit 557c89e

Please sign in to comment.