Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1166627

Browse files
committed
Merge branch '1.x' into 8.x
Signed-off-by: Mior Muhammad Zaki <[email protected]>
2 parents d8f5515 + 5f51d39 commit 1166627

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

CHANGELOG-1.x.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This changelog references the relevant changes (bug and security fixes) done to
44

55
## 1.4.0
66

7-
Released: 2024-03-12
7+
Released: 2024-03-13
88

99
### Changes
1010

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"prepare": "@php vendor/bin/testbench package:discover --ansi",
6060
"build": "@php vendor/bin/testbench workbench:build --ansi",
6161
"serve": [
62+
"Composer\\Config::disableProcessTimeout",
6263
"@build",
6364
"@php vendor/bin/testbench serve"
6465
],
@@ -76,4 +77,4 @@
7677
},
7778
"prefer-stable": true,
7879
"minimum-stability": "dev"
79-
}
80+
}

src/Console/InstallCommand.php

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use Symfony\Component\Console\Attribute\AsCommand;
1010

1111
use function Illuminate\Filesystem\join_paths;
12+
use function Laravel\Prompts\confirm;
1213
use function Laravel\Prompts\select;
1314
use function Orchestra\Testbench\package_path;
1415

@@ -32,10 +33,14 @@ class InstallCommand extends Command
3233
public function handle(Filesystem $filesystem)
3334
{
3435
if (! $this->option('skip-devtool')) {
35-
$this->call('workbench:devtool', [
36-
'--force' => $this->option('force'),
37-
'--skip-install' => true,
38-
]);
36+
$devtool = confirm('Install Workbench DevTool?', true);
37+
38+
if ($devtool === true) {
39+
$this->call('workbench:devtool', [
40+
'--force' => $this->option('force'),
41+
'--skip-install' => true,
42+
]);
43+
}
3944
}
4045

4146
$workingPath = package_path();

workbench/resources/views/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)