Skip to content

Commit

Permalink
Fixes preset command usage (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
edersoares authored Oct 23, 2023
1 parent 397880c commit 8f838dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/PresetMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected function rootNamespace(): string
return $namespace;
}

switch ($this->option('name')) {
switch ($this->argument('name')) {
case 'package':
return 'PackageName';
case 'laravel':
Expand Down

0 comments on commit 8f838dc

Please sign in to comment.