Skip to content

Commit

Permalink
Update BuildCommand.php
Browse files Browse the repository at this point in the history
Build command: extra box options ignored

Fix issue laravel-zero/laravel-zero#501
  • Loading branch information
marcogermani87 authored Nov 7, 2024
1 parent 3987383 commit fbac53c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/BuildCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ private function compile(string $name): BuildCommand
$boxBinary = windows_os() ? '.\box.bat' : './box';

$process = new Process(
[$boxBinary, 'compile', '--working-dir='.base_path(), '--config='.base_path('box.json')] + $this->getExtraBoxOptions(),
array_merge($boxBinary, 'compile', '--working-dir='.base_path(), '--config='.base_path('box.json')], $this->getExtraBoxOptions()),

Check failure on line 134 in src/Commands/BuildCommand.php

View workflow job for this annotation

GitHub Actions / PHPStan

Syntax error, unexpected ')' on line 134

Check failure on line 134 in src/Commands/BuildCommand.php

View workflow job for this annotation

GitHub Actions / PHPStan

Syntax error, unexpected ']', expecting ')' on line 134
dirname(__DIR__, 2).'/bin',

Check failure on line 135 in src/Commands/BuildCommand.php

View workflow job for this annotation

GitHub Actions / PHPStan

Syntax error, unexpected ',' on line 135
null,
null,
Expand Down

0 comments on commit fbac53c

Please sign in to comment.