You've already forked Epicnabbo-Catalogus-Updated-Daily
🆙 Add more fixes 🆙
This commit is contained in:
@@ -11,7 +11,7 @@ class BuildTheme extends Command
|
||||
|
||||
protected $description = 'Build a selected theme assets';
|
||||
|
||||
public function handle()
|
||||
public function handle(): int
|
||||
{
|
||||
$themes = $this->getAvailableThemes();
|
||||
|
||||
@@ -29,7 +29,11 @@ class BuildTheme extends Command
|
||||
|
||||
$this->info("Building {$selectedTheme} theme...");
|
||||
|
||||
$this->runBuildCommand($selectedTheme);
|
||||
if (is_array($selectedTheme)) {
|
||||
$selectedTheme = $selectedTheme[0] ?? '';
|
||||
}
|
||||
|
||||
$this->runBuildCommand((string) $selectedTheme);
|
||||
|
||||
return Command::SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user