Skip to content

Commit 557c89e

Browse files
committed
Fix importmap command
1 parent 1106992 commit 557c89e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Commands/InstallCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Illuminate\Console\Command;
66
use Illuminate\Support\Arr;
7+
use Illuminate\Support\Facades\Artisan;
78
use Illuminate\Support\Facades\File;
89
use RuntimeException;
910
use Symfony\Component\Process\Process;
@@ -112,7 +113,7 @@ private function installJsDependenciesWithImportmaps(): void
112113
{
113114
$this->components->info('Installing JS dependencies (Importmaps).');
114115

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

118119
private function ensureTrixLibIsImported(): void

0 commit comments

Comments
 (0)