Skip to content

Commit aa92f26

Browse files
authored
Merge pull request #486 from laravel-zero/bugfix/build-version
fix: resolve Laravel Prompts migration mismatch
2 parents 6612882 + 5e4c760 commit aa92f26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/BuildCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ private function prepare(): BuildCommand
175175
$config = include $configFile;
176176

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

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

0 commit comments

Comments
 (0)