Skip to content

Commit

Permalink
fix command style
Browse files Browse the repository at this point in the history
  • Loading branch information
reziamini committed Mar 17, 2021
1 parent de9837b commit 5eda324
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Commands/Actions/MakeCRUDConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function handle()
$path = resource_path("cruds/{$name}.php");

if($this->files->exists($path) and !$this->option('force')){
$this->warn("'{$name}'.php already exists in CRUDs config");
$this->warn("'{$name}.php' already exists in CRUDs config");
return;
}

Expand Down Expand Up @@ -54,7 +54,6 @@ private function parseStub($stub)
protected function getOptions()
{
return [
['model', 'm', InputOption::VALUE_REQUIRED, 'Model name'],
['force', 'f', InputOption::VALUE_NONE, 'force mode'],
];
}
Expand Down

0 comments on commit 5eda324

Please sign in to comment.