diff --git a/src/Console/MakeCommand.php b/src/Console/MakeCommand.php index 91968744..413fd0ca 100644 --- a/src/Console/MakeCommand.php +++ b/src/Console/MakeCommand.php @@ -165,7 +165,10 @@ protected function createView() return; } - $this->makeDirectory($this->getViewPath()); + if (! $this->files->exists($this->getViewPath())) { + $this->files->makeDirectory($this->getViewPath()); + } + $this->files->put($this->getView(), $this->files->get($this->getViewStub())); }