We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7f0140 commit 20975fbCopy full SHA for 20975fb
src/Console/Commands/Package.php
@@ -56,16 +56,9 @@ public function handle(): int
56
$packageName = $this->argument('name');
57
$vendorName = $this->option('vendor');
58
$withTests = $this->option('with-tests');
59
- $force = $this->option('force');
60
61
$packagePath = base_path('packages/' . $packageName);
62
63
- // Check if the package directory already exists
64
- if ($this->files->exists($packagePath) && !$force) {
65
- $this->error('Package already exists!');
66
- return 1;
67
- }
68
-
69
// Create package directories
70
$this->createDirectories($packagePath, $withTests);
71
0 commit comments