Skip to content

Commit

Permalink
fix: resolve Laravel Prompts migration mismatch
Browse files Browse the repository at this point in the history
This fixes an issue flagged up by Jess Archer where the placeholder has been filled instead of the default value.
  • Loading branch information
owenvoke authored Oct 29, 2023
1 parent 6612882 commit 5e4c760
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 @@ -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 5e4c760

Please sign in to comment.