diff --git a/src/MakeView.php b/src/MakeView.php index 1d14ea1..d01ba54 100644 --- a/src/MakeView.php +++ b/src/MakeView.php @@ -59,8 +59,8 @@ public function handle() $folder = $parts[$i]; $view_path .= "/{$folder}"; - if(!file_exists($folder)) { - mkdir($folder); + if(!file_exists($view_path)) { + mkdir($view_path); } }