Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Nov 7, 2023
1 parent 828be61 commit 0c65259
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Console/DevToolCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
use Symfony\Component\Console\Attribute\AsCommand;

use function Laravel\Prompts\select;
use function Orchestra\Testbench\laravel_version_compare;
use function Orchestra\Testbench\package_path;

#[AsCommand(name: 'workbench:devtool', description: 'Configure Workbench for package development')]
Expand Down Expand Up @@ -82,9 +81,7 @@ protected function copyTestbenchDotEnvFile(Filesystem $filesystem, string $worki
return;
}

$choice = laravel_version_compare('10.17', '>=')
? select("Export '.env' file as?", $choices)
: $this->components->choice("Export '.env' file as?", $choices);
$choice = select("Export '.env' file as?", $choices);

if ($choice === 'Skip exporting .env') {
return;
Expand Down

0 comments on commit 0c65259

Please sign in to comment.