Skip to content

Commit 20975fb

Browse files
committed
Remove force
1 parent f7f0140 commit 20975fb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/Console/Commands/Package.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,9 @@ public function handle(): int
5656
$packageName = $this->argument('name');
5757
$vendorName = $this->option('vendor');
5858
$withTests = $this->option('with-tests');
59-
$force = $this->option('force');
6059

6160
$packagePath = base_path('packages/' . $packageName);
6261

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-
6962
// Create package directories
7063
$this->createDirectories($packagePath, $withTests);
7164

0 commit comments

Comments
 (0)