Skip to content

Commit

Permalink
fixed minor issue on crud make
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthaksavvy committed Oct 2, 2021
1 parent a62f86c commit 076331e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Commands/Crud/CrudMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function modelName()
public function filePath()
{
$file = $this->argument('file');
$file_path = $this->getPath("crud/$file") . '.json';
$file_path = $this->getPath("/crud/$file") . '.json';
if (!file_exists($file_path)) {
$this->error('File not found, please give relative path.');
die();
Expand Down
Binary file modified builds/packr
Binary file not shown.

0 comments on commit 076331e

Please sign in to comment.