Skip to content

Commit

Permalink
Merge pull request #486 from laravel-zero/bugfix/build-version
Browse files Browse the repository at this point in the history
fix: resolve Laravel Prompts migration mismatch
  • Loading branch information
owenvoke committed Oct 30, 2023
2 parents 6612882 + 5e4c760 commit aa92f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/BuildCommand.php
Expand Up @@ -175,7 +175,7 @@ private function prepare(): BuildCommand
$config = include $configFile;

$config['env'] = 'production';
$version = $this->option('build-version') ?: text('Build version?', $config['version']);
$version = $this->option('build-version') ?: text('Build version?', default: $config['version']);
$config['version'] = $version;

$boxFile = $this->app->basePath('box.json');
Expand Down

0 comments on commit aa92f26

Please sign in to comment.